HuyPV
Monday, November 16, 2009
mysqldump -d -u root -p -v original_database_name > c:\temp\dbstruct.sql
mysql.exe -uroot -p new_database_name < c:\temp\dbstruct.sql
shell> mysql -e ‘create database new_db’
shell> mysqldump -d old_db | mysql new_db
Title:
Copy MySQL Database Structure without Data
Description:
mysqldump -d -u root -p -v original_database_name > c:\temp\dbstruct.sql mysql.exe -uroot -p new_database_name shell> mysql -e ‘create...
...
Rating:
4