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


相关文章
Error running Application. Command line is too long.
【2月更文挑战第2天】Error running Application. Command line is too long. 问题处理
|
7月前
|
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报错
55 0
autoreconf: command not found
autoreconf: command not found
326 0
|
Perl
Command PhaseScriptExecution failed with a nonzero exit code问题解决
在某次pod install后,run项目出现以下错误
609 0
g++: command not found
g++: command not found
51 0
成功解决absl.flags._exceptions.UnrecognizedFlagError: Unknown command line flag 'data_format'
成功解决absl.flags._exceptions.UnrecognizedFlagError: Unknown command line flag 'data_format'
|
C++
ERROR: Command errored out with exit status 1:
ERROR: Command errored out with exit status 1:
209 0
ERROR: Command errored out with exit status 1:
成功解决ParserError: Error tokenizing data. C error: Expected 2 fields in line 53, saw 3
成功解决ParserError: Error tokenizing data. C error: Expected 2 fields in line 53, saw 3
运行 ‘ApiApplication‘ 出错: Command line is too long. Shorten command line for ShopApiApplication or
运行 ‘ApiApplication‘ 出错: Command line is too long. Shorten command line for ShopApiApplication or
178 0
运行 ‘ApiApplication‘ 出错: Command line is too long. Shorten command line for ShopApiApplication or
|
Linux
WARNING: Re-reading the partition table failed with error 22: Invalid argument
在划分磁盘分区时,遇到错误“WARNING: Re-reading the partition table failed with error 22: Invalid argument” 如下所示: [root@DB-Server u02]# fdisk -l   Disk /dev/sda: 500.
2467 0