Home >Database >Mysql Tutorial >phpadmin导入数据提示lock tables tablename write

phpadmin导入数据提示lock tables tablename write

WBOY
WBOYOriginal
2016-06-07 17:52:261790browse

使用mysqldump导出的数据库,在phpadmin导入时出错提示:lock tables tablename write 、access denied、没有权限,

解决方法:

 代码如下 复制代码

mysqldump导出数据时加上-skIP-lock-tables选项,

mysqldump -uroot -p123 –skip-lock-tables itlogger>itlogger.sql

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn