<br><div class="gmail_quote">On Wed, Feb 3, 2010 at 11:28 AM, Kenneth Lee <span dir="ltr"><<a href="mailto:kenfodder@gmail.com">kenfodder@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I do not get any error with mysqldump, but I had two about a trigger and two foreign keys with phpMyAdmin (even though I disabled the referential integrity).<br>
</blockquote></div>
Sorry, I meant do you get errors in the restore command? E.g. in a shell command...<br>
<br>
$ mysql some_empty_database < production_dump.sql<br></blockquote><div><br>That is what I tried in the dev server, my PC, in production I cannot since I can't even create a DB.<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

<br>
Foreign keys shouldn't cause an issue. I don't use triggers in MySql, so I'm not sure of the issues surrounding that currently.</blockquote><div><br>When I have removed the only trigger and two foreign keys the script worked. So it is an issue for me.<br>
 </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im"><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I am root of any dev or production server, the sys admin is talking about scheduling an update of Mysql in developemnt, It will takes day so I get my data in some ways :-(<br>
</blockquote></div>
If you're at the whim of your sys-admin, maybe they can help your situation. Your data should be safe in a mysqldump albeit you can't restore it.<br>
<br></blockquote><div><br>sys-admins are useless and they are hiding behind helpdesk tickets. I guess in the end they will have to do thier job. The only way to restore the db is from the backup files :-(<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

When I mean a dev machine, I mean on your local development machine try doing a test backup and see if you can restore it, it may just be something on the machine you are restoring to.<br></blockquote><div><br>I get the same error with a little different version of MySql machine, 5.0.85 instead of 5.0.19.<br>
<br>Thanks for your help.<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
Ken<div><div></div><div class="h5"><br>
_______________________________________________<br>
Chat mailing list<br>
<a href="mailto:Chat@lists.lrug.org" target="_blank">Chat@lists.lrug.org</a><br>
<a href="http://lists.lrug.org/listinfo.cgi/chat-lrug.org" target="_blank">http://lists.lrug.org/listinfo.cgi/chat-lrug.org</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Riccardo Tacconi<br>Web developer at Wolseley UK <br>VIRTUELOGIC LIMITED (Director)<br><br><a href="http://www.linkedin.com/in/riccardotacconi">http://www.linkedin.com/in/riccardotacconi</a><br>
<a href="http://riccardotacconi.blogspot.com/">http://riccardotacconi.blogspot.com/</a><br><a href="http://twitter.com/rtacconi">http://twitter.com/rtacconi</a><br>Linux user: #400461<br>