GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Mysql Question..... (https://gfy.com/showthread.php?t=556642)

Juicy D. Links 12-26-2005 08:23 AM

Mysql Question.....
 
New Version on one box , older version on other box

Trying to take DB dump from new box and put into old box.

Now I will need to upgrade Mysql on older box correct? Seem to be getting errors importing the dump..

fusionx 12-26-2005 08:39 AM

The dump should be backwards compatible - there should be no problem importing a dump to an older MySql version. A dump file should just contain data, and create and alter statements - nothing special.

Have you tried a backup and restore, or just the dump file? Restore could screw up, as could directly attaching a newer DB.

What errors are you seeing?

Juicy D. Links 12-26-2005 08:47 AM

Quote:

Originally Posted by fusionx
The dump should be backwards compatible - there should be no problem importing a dump to an older MySql version. A dump file should just contain data, and create and alter statements - nothing special.

Have you tried a backup and restore, or just the dump file? Restore could screw up, as could directly attaching a newer DB.

What errors are you seeing?


dumps are from phpMyadmin

error upon import is "No SQL query!"

2HousePlague 12-26-2005 08:48 AM

do in phpmyadmin.

Juicy D. Links 12-26-2005 08:50 AM

Quote:

Originally Posted by 2HousePlague
do in phpmyadmin.


I am yo :Oh crap :Oh crap

fusionx 12-26-2005 08:57 AM

Quote:

Originally Posted by Juicy D. Links
dumps are from phpMyadmin

error upon import is "No SQL query!"

Would it be possible to look at your dump file?

pornpf69 12-26-2005 08:57 AM

Quote:

Originally Posted by Juicy D. Links
New Version on one box , older version on other box

Trying to take DB dump from new box and put into old box.

Now I will need to upgrade Mysql on older box correct? Seem to be getting errors importing the dump..

what error are you getting?

newbreed 12-26-2005 09:53 AM

How big is the DB? Can you do it in steps (like by table/data) until it throws the error?

Example, run a basic INSERT command and see if that works, just create a table or something. If that works try to poulate the table with data. if you don't get the error then move to the next query until it breaks.

grumpy 12-26-2005 10:27 AM

you prob have a field with a timestamp. phpmyadmin has a problem with that.

do the dump and delete all the stuf behind the comma where the timestamp field is and replace it with the term : default.

hope this solves your problem.


All times are GMT -7. The time now is 04:38 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123