Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar Mark Forums Read
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 10-29-2004, 10:08 AM   #1
PantieZ
Confirmed User
 
PantieZ's Avatar
 
Join Date: Jan 2001
Location: Panty Land
Posts: 1,441
export - import MySql dbase ?

how can i do this ?

PantieZ is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-29-2004, 10:10 AM   #2
Babaganoosh
♥♥♥ Likes Hugs ♥♥♥
 
Babaganoosh's Avatar
 
Industry Role:
Join Date: Nov 2001
Location: /home
Posts: 15,841
mysqldump

Google it, it's easy.
__________________
I like pie.
Babaganoosh is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-29-2004, 10:11 AM   #3
Varius
Confirmed User
 
Industry Role:
Join Date: Jun 2004
Location: New York, NY
Posts: 6,890
Quote:
Originally posted by PantieZ
how can i do this ?

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
__________________
Skype variuscr - Email varius AT gmail
Varius is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-29-2004, 10:11 AM   #4
SinSational
Confirmed User
 
Join Date: Oct 2004
Location: Boston, MA
Posts: 1,723
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.
__________________

ICQ# 273099174 - monthly specials - 2 Month Free Credit on All Plans - 100% Referrals - chris@ for details
Virtual from $14.95/month, Dedicated from $149.95/month
Dual-Core Xeon > 1000GB @ $149.95 | 1500GB @ $169.95 | 10Mbps @ $269.95
SinSational is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-29-2004, 10:12 AM   #5
Babaganoosh
♥♥♥ Likes Hugs ♥♥♥
 
Babaganoosh's Avatar
 
Industry Role:
Join Date: Nov 2001
Location: /home
Posts: 15,841
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.
__________________
I like pie.
Babaganoosh is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-29-2004, 10:26 AM   #6
PantieZ
Confirmed User
 
PantieZ's Avatar
 
Join Date: Jan 2001
Location: Panty Land
Posts: 1,441
Quote:
Originally posted by Armed & Hammered
That's a lot of unnecessary work. mysqldump is the correct way to do it.
thanks a lot !!
PantieZ is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks
Thread Tools



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.