Show pagesourceOld revisionsBacklinksBack to top Share via Share via... Twitter LinkedIn Facebook Pinterest Telegram WhatsApp Yammer RedditRecent ChangesSend via e-MailPrintPermalinkhelp × Table of Contents Create Database Syntax Example Create Database Syntax CREATE {DATABASE | SCHEMA} [IF NOT EXISTS] db_name [create_specification [create_specification] ...] create_specification: [DEFAULT] CHARACTER SET charset_name | [DEFAULT] COLLATE collation_name Example CREATE DATABASE IF NOT EXISTS databasename; docs/mysql/create_database.txt Last modified: 2008/08/03 00:25by 127.0.0.1