备份数据库出现

mysqldump: Got error: 1016: Can't open file: './ShoppingCart/ShoppingCart_01f8.frm' (errno: 24) when using LOCK TABLES

这样的错误。
 
搜索了一下,发现只要在mysqldump的时候加上--lock-tables=false就可以解决问题。

mysqldump -u root -pMyPassword DbName --lock-tables=false > data.sql

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-07-05
  • 2022-12-23
  • 2021-11-07
  • 2022-12-23
  • 2021-07-29
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-22
  • 2021-10-12
  • 2021-05-20
  • 2021-08-03
相关资源
相似解决方案