MySQL的问题:ERROR 1064(42000) [英] MySQL problem: ERROR 1064 (42000)

查看:1934
本文介绍了MySQL的问题:ERROR 1064(42000)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图来用MS SQL Azure数据库创建一个数据库转储一个新的MySQL空数据库,我收到以下错误

I am trying to populate a new MySQL empty database with a db dump created from MS SQL Azure database, and I get the following error

在第1行错误1064(42000):你有一个错误的SQL语法;
  检查对应于你的MySQL服务器版本的手册
  正确的语法附近使用我第1行

ERROR 1064 (42000) at line 1: 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 'I ' at line 1

我用mysqldump的执行此操作,并采用类似于在命令提示符下键入以下命令:

I used mysqldump to perform this operation and used command similar to the following in the command prompt:

mysql --user=rootusername --pasword=password databasename < dumpfilename.sql

mysqldump的花了大约30分钟,显示此错误消息。

Mysqldump took about 30 minutes to display this error message.

推荐答案

你有没有选择像这样一个特定的数据库:

Do you have a specific database selected like so:

USE database_name

除了我想不出任何理由这个错误。

Except for that i cant think of any reason for this error.

这篇关于MySQL的问题:ERROR 1064(42000)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆