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)
-   -   How to import mysql backup? (https://gfy.com/showthread.php?t=408738)

SickFinga 12-27-2004 02:56 AM

How to import mysql backup?
 
I backup mysql from the old server and trying to import all the data in the new database on the new server. I'm all over phpMyAdmin and can't find anything there :helpme

azguy 12-27-2004 02:57 AM

Just copy/paste the SQL code into a huge SQL query :) What export method did u use?

azguy 12-27-2004 02:58 AM

Going to sleep. Try what I said :)

SickFinga 12-27-2004 03:03 AM

Quote:

Originally Posted by azguy
Just copy/paste the SQL code into a huge SQL query :) What export method did u use?


Exported it as SQL and save as File

azguy 12-27-2004 03:10 AM

Just copy and paste it all into a SQL query in phpMyAdmin

Or with the command line, something like mysql -u xxx db < file.txt

Don't remember exactly... Haven't used mysql in a long time :)

venturi 12-27-2004 04:15 AM

in SSH type:

mysql -u {username} -p -h {hostname} {dbname} < mysqldumpfile.sql

or, much more wisely, just paypal me $50 to do it for you. :smilie_we


All times are GMT -7. The time now is 08:35 AM.

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