![]() Topic awaiting preservation: Exporting Database with MYSQL Administrator (Page 1 of 1) |
|
---|---|
Nervous Wreck (II) Inmate From: |
![]() Im using mysql administrator and i want to know how export my database so it could be uploaded on a server. i tried the backup procedure but that just gave me a sql file that looks like a test file with an sql extention on it. is that right or is there another way to do it. basically how do i get it online in the right format. |
Bipolar (III) Inmate From: Australia |
![]() you dont have access to php myadmin do you? i'm assuming mysql administrator is different? |
Maniac (V) Mad Scientist with Finglongers From: Germany |
![]() anyhow, an sql file is the format you'd usually export an sql database in. |
Bipolar (III) Inmate From: Australia |
![]() I thought he was trying to export the sql from an existing database? And then load it to a database on another server? |
Lunatic (VI) Inmate From: under the bed |
![]() Yeah - .sql is still what you want for that. |
Nervous Wreck (II) Inmate From: |
![]() i am using http://www.mysql.com/products/tools/administrator/ and when i choose the backup option which i assume is to export the database it spits out what looks like a plain onld text file with an sql extension. when i open it it opens in the plain old text editor. is that suppose to be that way or am i making a mistake. thanx for the help |
Paranoid (IV) Inmate From: Madison, Indiana, USA |
![]() Hustluz is talking about mysqladmin, a stanadard program that comes with MySQL. There is a man page for it on Linux. Just type 'man mysqladmin' to find out how to use it. |
Lunatic (VI) Inmate From: under the bed |
![]() quote:
|
Bipolar (III) Inmate From: Australia |
![]() Well you can just look at the sql file in a text editor and you should be able to tell if it worked even before you upload it |
Maniac (V) Inmate From: Sthlm, Sweden |
![]() quote:
|
Lunatic (VI) Inmate From: under the bed |
![]() quote:
|
Bipolar (III) Inmate From: Australia |
![]() Well if you don't know sql then yeh its easier, scrolling through the sql file can be quicker before you upload it to make sure it worked, then just do a final check check of the size/row count of each table and make sure they are the same. |