

- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
How to check statement of creating a particular MySQL database?
With the help of CREATE DATABASE db-name command, we can check the statement of creating any MySQL database.
mysql> SHOW CREATE DATABASE Sample; +----------+-------------------------------------------------------------------+ | Database | Create Database | +----------+-------------------------------------------------------------------+ | sample | CREATE DATABASE `sample` /*!40100 DEFAULT CHARACTER SET latin1 */ | +----------+-------------------------------------------------------------------+ 1 row in set (0.00 sec)
The output shows how MySQL database named Sample has been created.
- Related Questions & Answers
- How to check table status of the tables in a particular MySQL database?
- How can we check the default character sets of a particular MySQL database?
- How Can I check the size of the tables in a particular MySQL database?
- Creating and Using a MySQL Database
- Creating and Selecting a MySQL Database
- How can we check the character set of all the tables in a particular MySQL database?
- How to check if a MySQL database exists?
- How can I check MySQL tables from a database in accordance with particular column/s name?
- Get a list of non-empty tables in a particular MySQL database?
- How can I get the information about a particular column of a table by MySQL EXPLAIN statement? EXPLAIN statement?
- How can we see the list of views stored in a particular MySQL database?
- How can I check the character set of all the tables along with column names in a particular MySQL database?
- Fix ERROR 1064 (42000) while creating a database in MySQL?
- How to find and replace string in MySQL database for a particular string only?
- How can we see the metadata of a view(s) stored in a particular MySQL database?
Advertisements