SHOW CREATE DATABASE db_name
Shows the CREATE DATABASE
statement that creates the given database. It was added in MySQL
4.1.
mysql> SHOW CREATE DATABASE test\G
*************************** 1. row ***************************
Database: test
Create Database: CREATE DATABASE `test`
/*!40100 DEFAULT CHARACTER SET latin1 */
SHOW CREATE DATABASE
quotes table
and column names according to the value of the
sql_quote_show_create
option.
See Section 5.1.4, “Session System Variables”.
User Comments
Add your own comment.