mysql数据库导入文件出错是什么回事?如图 255
#1064-YouhaveanerrorinyourSQLsyntax;checkthemanualthatcorrespondstoyourMySQLserverver...
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'USING BTREE, KEY `agency_id` (`agency_id`) USING BTREE) ENGINE=MyISAM AUTO_IN' at line 17
展开
展开全部
在新的服务器上要导入备份,那么操作之前要新建一个数据库;
创建数据库给予相应权限--》导入数据库
比如:数据库名称和用户都为test123,数据库密码mima123
mysql -uroot -p
create database test123;
grant all privileges on test123.* to 'test123'@'localhost' identified by 'mima123';flush privileges;quit
mysql -uroot -p test123 </root/test123.sql
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询