mysqldump: Got error: 1066: Not unique table/alias

myql 导出时提示如下:

[root@localhost mysql]# mysqldump  -uroot  -p 123456  test >test_bak
mysqldump: Got error: 1066: Not unique table/alias: 'robots_excludeurl' when using LOCK TABLES

修改/etc/my.cnf,将下面这行用#注释掉即可:

#lower_case_table_names=1(等于1表示不区分表名大小写)

注释掉后,重启mysql:

#service  mysql  restart

再导出,好了。

 

相关文章:

  • 2021-07-31
  • 2022-12-23
  • 2021-09-19
  • 2022-12-23
  • 2021-07-17
  • 2022-12-23
  • 2021-09-08
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-02-20
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案