版权声明:本文为博主原创文章,无需授权即可转载,甚至无需保留以上版权声明,转载时请务必注明作者。
https://blog.csdn.net/weixin_43453386/article/details/89154811
解决——》mysqldump: Got error: 1044: Access denied for user 'xxx'@'%' to database 'xxx' when using LOCK TABLES
1、操作
数据库导出
2、现象(错误信息)
mysqldump -h10.122.139.25 -udatatech -p house_platform > house_platform.sql
mysqldump: Got error: 1044: Access denied for user 'datatech'@'%' to database 'house_platform' when using LOCK TABLES
3、原因
权限相关
4、解决
1)root账号导出
mysqldump -h10.122.139.25 -udatatech -p house_platform > house_platform.sql
2)普通账号导出(增加参数)
mysqldump -h10.122.139.