In this section, we are going to read about the mysql commands. Each statement is sent to the server for the execution by MySQL. MySQL provides lots of commands. To see list of mysql commands, you type help or \h on the mysql> prompt: A list of commands is displayed which can be used by the user according to the requirement.
Some General MySQL Commnads:
SHOW DATABASES: It displays lists of all MySQL databases on the system.
USE database_name: To Change database which have to be used. When you connect to the database first time, you will require to change the database. For this you need to run this query. Whenever you have to change the database, execute this query.
SHOW TABLES: It displays all lists of tables from the current database.
Similarly, you can use all the MySQL Commands.
If you enjoyed this post then why not add us on Google+? Add us to your Circles
Liked it! Share this Tutorial
Discuss: MySQL Commands
Post your Comment