嗨, 大家好: 网站在新年后正式开通,欢迎大家加入我们,共同维护一个良好氛围的中国技术社区。 欢迎举报不良帖子,欢迎提供建议。
我们的QQ群:136102234,欢迎进群找答案,里边会有很多资深的大师们。 point overflow

使用mysqldump -uroot -p123456 databases > /home/databases.sql 进行备份

在使用mysql -uroot -p123456 databases < /home/databases.sql 进行mysql恢复的时候,出现如下报错。

ERROR at line 79: Unknown command ‘\0‘.

asked 2018-03-29 14:45:20

jkant's gravatar image

jkant ♦♦
11133138139
accept rate: 3%


加上:--default-character-set=utf8

link

answered 2018-03-29 14:45:37

jkant's gravatar image

jkant ♦♦
11133138139
accept rate: 3%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×72
×50

Asked: 2018-03-29 14:45:20

Seen: 1,316 times

Last updated: 2018-03-29 14:45:37