开发者

mysqldump not restoring data in MySql 5.0.19

I have a production and a development server, each server has its own MySql server. I am not the admin of any server, not installed anything. I need to get the schema and data from the production to the development but myslqdump does not restore any data!

I tried to add SET FOREIGN_KEY_CHECKS = 0; without result. Then I removed the only trigger present, nothing. Then I removed two foreign keys that created and error (when importing phpMyAdmin). Then I 开发者_JAVA技巧was able to import the data.

This is quite scaring. I cannot rely on mysqldump, isn't? Did you have similar problems? Any advise?


are you dumping and restoring with phpmyadmin? what error do you get?

for large mysql databases i recommend to user mysqldumper for dumping and restoring if you have no ssh access.

http://www.mysqldumper.net/

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜