Export MySQL

Soldato
Joined
30 Nov 2005
Posts
3,084
Location
London
I need to export a MySQL database from my servers to another.

What I need though is to export the database as pure text. By this I mean text which states everything like, create table x, insert record y, etc etc.

I think this exists but just not sure what the correct method is in MyPHPAdmin.

Any ideas?

Cheers.
 
Thanks but I was thinking more of the Export tab in phpMyAdmin.

There seems to be a whealth of options there and don't know what to tick/untick.
 
I realise that I should export as MySQL.

It just all of the following Im not sure what to tick or untick:

SQL options:
Add custom comment into header (\n splits lines)
Enclose export in a transaction
Disable foreign key checks
SQL compatibility mode

Structure:
Add DROP TABLE
Add IF NOT EXISTS
Add AUTO_INCREMENT value
Enclose table and field names with backquotes
Add into comments
Creation/Update/Check dates Data
Complete inserts
Extended inserts
Maximal length of created query
Use delayed inserts
Use ignore inserts
Use hexadecimal for binary fields
 
Back
Top Bottom