Topic awaiting preservation: Exporting Database with MYSQL Administrator |
|
---|---|
Author | Thread |
Nervous Wreck (II) Inmate From: |
posted 04-13-2006 06:33
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 |
posted 04-13-2006 06:41
you dont have access to php myadmin do you? i'm assuming mysql administrator is different? |
Maniac (V) Mad Scientist with Finglongers From: Germany |
posted 04-13-2006 07:46
anyhow, an sql file is the format you'd usually export an sql database in. |
Bipolar (III) Inmate From: Australia |
posted 04-13-2006 10:16
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 |
posted 04-13-2006 12:42
Yeah - .sql is still what you want for that. |
Nervous Wreck (II) Inmate From: |
posted 04-13-2006 18:06
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 |
posted 04-13-2006 18:29
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 |
posted 04-13-2006 20:01
quote:
|
Bipolar (III) Inmate From: Australia |
posted 04-14-2006 01:26
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 |
posted 04-14-2006 10:36
quote:
|
Lunatic (VI) Inmate From: under the bed |
posted 04-14-2006 15:00
quote:
|
Bipolar (III) Inmate From: Australia |
posted 04-14-2006 15:55
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. |