mysql 5 -- generate database script

Bruce Marshall bmarsh
Wed Dec 21 09:33:50 PST 2005


On Wednesday 21 December 2005 06:48, Man-wai CHANG wrote:
> Which tool could read the database and table definitions in mysql 5 and
> generate a database-generation script? Something like what the
> enterprise manager M$$SQL does.


/usr/bin/mysqldump -u<user> -h<host> -p<pswd> <databse> > /<path 
to>/<dumpfile>.sql


More information about the Linux-users mailing list