Database Management
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsDatabasesDatabase Management

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now!
  #1  
Old June 30th, 2003, 07:43 AM
faceFNape faceFNape is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2003
Location: Netherlands
Posts: 36 faceFNape User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
Saving/dumping MySQL database

Hello. This is my first post. I did a search how to save a mysql database and i got the answer. then i went to save it, and i got many options how to save the database. in the phpMyAdmin documentation they are not explained, or i did not find the explanation.

what do those options mean?

i posted a gif file. its a screenshot
Attached Images
File Type: gif dump.gif (2.4 KB, 259 views)

Reply With Quote
  #2  
Old June 30th, 2003, 08:07 AM
victorpendleton victorpendleton is offline
Contributing User
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Jan 2003
Location: No es importante
Posts: 2,065 victorpendleton User rank is Private First Class (20 - 50 Reputation Level)victorpendleton User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 6 h 31 m 56 sec
Reputation Power: 8
I do not use PhpMyAdmin but I can tell you if you want to export you can use:
mysqldump -u<user> -p<password> -h<host> -B <database> --opt > backup.sql
and if you want to import you can use
mysql -u -p -h < backup.sql

Reply With Quote
  #3  
Old June 30th, 2003, 09:30 AM
faceFNape faceFNape is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2003
Location: Netherlands
Posts: 36 faceFNape User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
And where I have to type that? I do not have telnet/ssh access if I am correct. Only via phpmyAdmin.

I will email my host.

Last edited by faceFNape : June 30th, 2003 at 09:32 AM.

Reply With Quote
  #4  
Old June 30th, 2003, 09:50 AM
pabloj's Avatar
pabloj pabloj is offline
Modding: Oracle MsSQL Firebird
Dev Shed God 6th Plane (7500 - 7999 posts)
 
Join Date: Jun 2001
Location: Outside US
Posts: 7,711 pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level) 
Time spent in forums: 2 Months 2 Weeks 6 Days 5 h 22 m 58 sec
Reputation Power: 259
Why didn't you post this question in the appropriate (MySQL) forum?
You could get more&better answers ...

Reply With Quote
  #5  
Old June 30th, 2003, 01:46 PM
victorpendleton victorpendleton is offline
Contributing User
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Jan 2003
Location: No es importante
Posts: 2,065 victorpendleton User rank is Private First Class (20 - 50 Reputation Level)victorpendleton User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 6 h 31 m 56 sec
Reputation Power: 8
Those commands are run from the command line.

Reply With Quote
  #6  
Old June 30th, 2003, 02:35 PM
faceFNape faceFNape is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2003
Location: Netherlands
Posts: 36 faceFNape User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
well, i have only phpmyadmin access to my database.

still no answer for my questions, thanks every1.

i posted here becasue i thought mysql is for syntax problem and this is kinda general problem.

Reply With Quote
  #7  
Old June 30th, 2003, 04:00 PM
victorpendleton victorpendleton is offline
Contributing User
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Jan 2003
Location: No es importante
Posts: 2,065 victorpendleton User rank is Private First Class (20 - 50 Reputation Level)victorpendleton User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 6 h 31 m 56 sec
Reputation Power: 8
You can use the PHPmysqadmin export tab to export either a table or the entire database.

Reply With Quote
  #8  
Old July 1st, 2003, 12:32 AM
faceFNape faceFNape is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2003
Location: Netherlands
Posts: 36 faceFNape User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
Yes Victor, I know. But what do those options mean? That is my main question. Check the attached gif file.

Reply With Quote
  #9  
Old July 1st, 2003, 09:00 AM
victorpendleton victorpendleton is offline
Contributing User
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Jan 2003
Location: No es importante
Posts: 2,065 victorpendleton User rank is Private First Class (20 - 50 Reputation Level)victorpendleton User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 6 h 31 m 56 sec
Reputation Power: 8
Structure only: DDL only no data
Structure and data: DDL and statements to populate tables
Data only: Statements to populate tables only
Add `drop table`: Will drop the table if it already exists
Complete inserts: Each insert statement will be atomic. One per line.
Extended inserts: will insert multiple values per statement.
Use backquotes with tables fields' names: Will quote tables and fields to preserve names.

Reply With Quote
  #10  
Old July 1st, 2003, 09:52 AM
faceFNape faceFNape is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2003
Location: Netherlands
Posts: 36 faceFNape User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
thanks

Reply With Quote
  #11  
Old July 1st, 2003, 11:06 AM
victorpendleton victorpendleton is offline
Contributing User
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Jan 2003
Location: No es importante
Posts: 2,065 victorpendleton User rank is Private First Class (20 - 50 Reputation Level)victorpendleton User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 6 h 31 m 56 sec
Reputation Power: 8
Does that answer your question?

Reply With Quote
  #12  
Old July 1st, 2003, 11:14 AM
faceFNape faceFNape is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2003
Location: Netherlands
Posts: 36 faceFNape User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
yes it does

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesDatabase Management > Saving/dumping MySQL database


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway