关于mysql数据库运行sql脚本文件问题
我的mysql数据库没有设密码,用"mysql-hlocalhost-u账号-p密码<sql文件"方法行不通,有其他解决的办法吗或者应该怎么修改呢D:\>D:\dev\m...
我的mysql数据库没有设密码,用"mysql -h localhost -u账号 -p密码 <sql文件"方法行不通,有其他解决的办法吗或者应该怎么修改呢
D:\>D:\dev\mysql-5.0.18-win32\bin\mysql -h localhost -uroot -p -text<E:\tangj
in\shop\cpnFrontManage2008\setup\sql\campaign_data.sql
Enter password: (这里应该输入什么)
如果不输入就成这样了
D:\>D:\dev\mysql-5.0.18-win32\bin\mysql -h localhost -uroot -p -text<E:\tangj
in\shop\cpnFrontManage2008\setup\sql\campaign_data.sql
Enter password:
ERROR 1064 (42000) at line 1: You have an error in your SQL syntax; check the ma
nual that corresponds to your MySQL server version for the right syntax to use n
ear 'xt' at line 1 展开
D:\>D:\dev\mysql-5.0.18-win32\bin\mysql -h localhost -uroot -p -text<E:\tangj
in\shop\cpnFrontManage2008\setup\sql\campaign_data.sql
Enter password: (这里应该输入什么)
如果不输入就成这样了
D:\>D:\dev\mysql-5.0.18-win32\bin\mysql -h localhost -uroot -p -text<E:\tangj
in\shop\cpnFrontManage2008\setup\sql\campaign_data.sql
Enter password:
ERROR 1064 (42000) at line 1: You have an error in your SQL syntax; check the ma
nual that corresponds to your MySQL server version for the right syntax to use n
ear 'xt' at line 1 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询