2019-02-20
                                阅读量:
                                797
                            
                        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
                            
                                0
                            
                                5
                            
                                
                            
                                关注作者
                            
                                    收藏
                                                            评论(0)
                    
发表评论
暂无数据
                        
                        推荐帖子
                    
                0条评论
                        0条评论
                        0条评论
                        
            
                
                
