windows环境下的mysql
执行备份:确定用户和密码是正确的
mysqldump -uroot123 -p --default-character-set=utf8 -d lm_dyd > lm.sql
报错:mysqldump: Got error: 1044: Access denied for user ‘root123‘@‘%‘ to data
base ‘lm_dyd‘ when using LOCK TABLES
解决方法:加参数 --skip-lock-tables
mysqldump -uroot123 -p --default-character-set=utf8 --skip-lock-tables -d lm_dyd > lm.sql
Date:2016-05-26
本文出自 “lmlinux” 博客,请务必保留此出处http://1121914451.blog.51cto.com/11002746/1783395
原文地址:http://1121914451.blog.51cto.com/11002746/1783395