ERROR at line 11781: Unknown command '\''.

简介:

类似"ERROR at line 11781: Unknown command '\''.错误的一种解决办法


用mysqldump  -u root -p123456 --database res_gul>d:\gul_bak.sql导出的数据库,但在用命令

mysql -u root -p123456 res_gul<d:\gul_bak.sql

导入时出现"ERROR at line 11781: Unknown command '\''的错误提示,然后中断。在网上查了一下,说是字符集的问题,加上

--default-character-set=utf8,也就是用命令

mysql -u root -p123456 --default-character-set=utf8 res_gul<d:\gul_bak.sql

导入成功。

记录下,备忘。





      本文转自ling118 51CTO博客,原文链接:http://blog.51cto.com/meiling/1625449 ,如需转载请自行联系原作者


相关文章
|
8月前
Showing Recent Messages Command CodeSign failed with a nonzero exit code
Showing Recent Messages Command CodeSign failed with a nonzero exit code
85 0
|
8月前
|
Unix Linux Shell
syntax error: unexpected end of file
syntax error: unexpected end of file
38 0
|
8月前
|
开发者 iOS开发
no identity found Command CodeSign failed with a nonzero exit code
no identity found Command CodeSign failed with a nonzero exit code
108 0
|
Java
解决Command line is too long. Shorten command line for ServiceStarter or also for Application报错
解决Command line is too long. Shorten command line for ServiceStarter or also for Application报错
387 0
|
JavaScript
Error Unknown option ‘--inline‘
Error Unknown option ‘--inline‘
378 0
成功解决absl.flags._exceptions.UnrecognizedFlagError: Unknown command line flag 'data_format'
成功解决absl.flags._exceptions.UnrecognizedFlagError: Unknown command line flag 'data_format'
|
Perl
Command PhaseScriptExecution failed with a nonzero exit code问题解决
在某次pod install后,run项目出现以下错误
750 0
|
C++
ERROR: Command errored out with exit status 1:
ERROR: Command errored out with exit status 1:
344 0
ERROR: Command errored out with exit status 1:
autoreconf: command not found
autoreconf: command not found
480 0
g++: command not found
g++: command not found
86 0