Home > Database > Mysql Tutorial > Linux 5中出现的-bash: syntax error near unexpected token `('错误

Linux 5中出现的-bash: syntax error near unexpected token `('错误

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-07 17:03:45
Original
2045 people have browsed it

在Linux 5中导入数据时,出现下面的错误。-bash: syntax error near unexpected token `(

在Linux 5中导入数据时,,出现下面的错误。

-bash: syntax error near unexpected token `('

检查了脚本没有错误:

imp mzl/mzl fromuser=dpcsys touser=mzl tables=(PC_PRJ_PLAN,PC_PRJ_MASSCONTROL,PC_PRJ_FACT) file=/data2/databackup/expbackup/TuesdayBackup.dmp log=/data2/databackup/expbackup/20101125Imp.log

原来在Linux 5中需要在括号加上双引号才可以。

如:

imp mzl/mzl fromuser=dpcsys touser=mzl tables="(PC_PRJ_PLAN,PC_PRJ_MASSCONTROL,PC_PRJ_FACT)" file=/data2/databackup/expbackup/TuesdayBackup.dmp log=/data2/databackup/expbackup/20101125Imp.log

linux

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template