简体   繁体   English

MySQL中的这个错误是什么意思?

[英]What does this error in MySQL mean?

I am using the Zymic Database Uploader v1.1 to upload my XAMPP/MySQL database to zymic database. 我正在使用Zymic Database Uploader v1.1将我的XAMPP / MySQL数据库上传到zymic数据库。 I followed the instruction carefully until I got this error. 我仔细按照说明操作,直到收到此错误。

Error at the line 27: ) ENGINE=MEMORY DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci MAX_ROWS=15000; 

Query: CREATE TABLE `bmf_chatting` (
`usr_id` int(11) NOT NULL,
`usr_name` varchar(255) collate latin1_general_ci NOT NULL,
`chatto` int(11) NOT NULL,
`timestamp` int(11) NOT NULL
) ENGINE=MEMORY DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci MAX_ROWS=15000;


MySQL: Table 'bmf_chatting' already exists

This happened while I was Processing/Importing the database into Zymic but it stopped on error. 这是在我将数据库处理/导入到Zymic中时发生的,但是由于错误而停止了。 I have no database yet in my zymic and I have no duplicate table 'bmf_chatting'. 我的zymic中还没有数据库,我没有重复的表'bmf_chatting'。

I thought it will be a simple export/import. 我认为这将是一个简单的导出/导入。 :( :(

Check your dump file, if this table didn't get exported twice for whatever reason. 检查转储文件,如果此表因任何原因未导出两次。

Also make sure, to drop all tables (and maybe the entire database) before you retry with you import. 还要确保在重新导入之前删除所有表(可能还有整个数据库)。 Whatever tables are created above this one, have already been created. 无论在这个之上创建了什么表,都已经创建了。

It sounds like you had a table called bmf_chatting in MySQL before and it was improperly deleted (the files were probably deleted without dropping the database). 听起来以前您在MySQL中有一个名为bmf_chatting的表,并且该表已被不正确地删除(文件可能已删除而不删除数据库)。

Try running a drop database query before your create query. 尝试在创建查询之前运行drop database查询。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM