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 ,如需转载请自行联系原作者


相关文章
|
4月前
Showing Recent Messages Command CodeSign failed with a nonzero exit code
Showing Recent Messages Command CodeSign failed with a nonzero exit code
46 0
|
4月前
|
开发者 iOS开发
no identity found Command CodeSign failed with a nonzero exit code
no identity found Command CodeSign failed with a nonzero exit code
47 0
|
4月前
|
Unix Linux Shell
syntax error: unexpected end of file
syntax error: unexpected end of file
18 0
Error running Application. Command line is too long.
【2月更文挑战第2天】Error running Application. Command line is too long. 问题处理
|
12月前
|
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报错
263 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项目出现以下错误
669 0
autoreconf: command not found
autoreconf: command not found
396 0
g++: command not found
g++: command not found
68 0
|
C++
ERROR: Command errored out with exit status 1:
ERROR: Command errored out with exit status 1:
286 0
ERROR: Command errored out with exit status 1: