热线电话:13121318867

登录
2019-02-20 阅读量: 702
mysql导数显示版本错误

问题描述:

如图在mysql倒入数据时,遇到如下错误:

ERROR 1148 (42000): The used command is not allowed with this MySQL version

解决方法:

在进入mysql时添加 "--local-infile=1",即把“mysql -uroot -p”修改为"mysql -root --local=infile=1 -p"。

参考网址:

http://dev.mysql.com/doc/refman/5.5/en/load-data-local.html

0.0000
5
关注作者
收藏
评论(0)

发表评论

暂无数据
推荐帖子