Home Sql Mysql-example MySQL Commands



MySQL Commands
Posted on: January 20, 2009 at 12:00 AM
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.

MySQL Commands

     

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. 

For example:

SHOW TABLES: It displays all lists of tables from the current database.

Similarly, you can use all the MySQL Commands.

Related Tags for MySQL Commands:
sqlmysqlccomideserveriocommandviexecstatereadthisidexecommandsforstatementtoexecutioneachedessectioncommamaninstamntoutadesemmeprocutsxeatmyisgoeaandarstatrvutissthstabprndonomo


More Tutorials from this section

Ask Questions?    Discuss: MySQL Commands  

Post your Comment


Your Name (*) :
Your Email :
Subject (*):
Your Comment (*):
  Reload Image
 
 

Ask Questions?

If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.

Ask your questions, our development team will try to give answers to your questions.