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)
-   -   export - import MySql dbase ? (https://gfy.com/showthread.php?t=379399)

PantieZ 10-29-2004 10:08 AM

export - import MySql dbase ?
 
how can i do this ?

:helpme

Babaganoosh 10-29-2004 10:10 AM

mysqldump

Google it, it's easy.

Varius 10-29-2004 10:11 AM

Quote:

Originally posted by PantieZ
how can i do this ?

:helpme

Easiest method is to use mysqldump to export it. Then you can sue that file for import....example:

mysqldump -h -u -p (put your values) db_name > file.sql

mysql -h -u -p db_name < file.sql

SinSational 10-29-2004 10:11 AM

how many records?
if is is small, you can just do a dump with phpMyAdmin.

if big then easy way is just to make a php page that writes to a text file and then you can insert from that text in to the new table.

backup/restore php page.

Babaganoosh 10-29-2004 10:12 AM

Quote:

Originally posted by SinSational
how many records?
if is is small, you can just do a dump with phpMyAdmin.

if big then easy way is just to make a php page that writes to a text file and then you can insert from that text in to the new table.

backup/restore php page.

That's a lot of unnecessary work. mysqldump is the correct way to do it.

PantieZ 10-29-2004 10:26 AM

Quote:

Originally posted by Armed & Hammered
That's a lot of unnecessary work. mysqldump is the correct way to do it.
thanks a lot !! :thumbsup


All times are GMT -7. The time now is 07:57 PM.

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