好得很程序员自学网

<tfoot draggable='sEl'></tfoot>

mysql5.5中mysqldump:Goterror:1142:SELECT,LOCKTABLco

在mysql5.5中,增加了performance_schema,当我们进行mysqldump的时候,会报如下错误信息: mysqldump: Got error: 1142: SELECT,LOCK TABL command denied to user 'root'@'localhost' for table 'cond_instances' when using LOCK TABLES 我们可以mysqldum

在mysql5.5中,增加了performance_schema,当我们进行mysqldump的时候,会报如下错误信息:

mysqldump: Got error: 1142: SELECT,LOCK TABL command denied to user 'root'@'localhost' 
for table 'cond_instances' when using LOCK TABLES 

我们可以mysqldump中加上参数 --skip-lock-tables 如下实例

mysqldump  -uroot  -p   --skip-lock-tables  performance_schema > performance_schema.sql 

以上就是mysql5.5中mysqldump: Got error: 1142: SELECT,LOCK TABL com的内容,更多相关内容请关注PHP中文网(www.gxlcms.com)!

查看更多关于mysql5.5中mysqldump:Goterror:1142:SELECT,LOCKTABLco的详细内容...

  阅读:43次