Wednesday, 25 July 2018

Important MySQL and Ubuntu Console Commands

In this post, I am sharing few important commands for MySQL and Ubuntu.

Let’s first see the MySQL Command:


You can execute this all commands in the root directory of the MySQL.
Check MySQL is running or not:
Check MySQL Current Version:
Check MySQL Current Status:
Check MySQL Server Variables:
Check status of MySQL Server variable’s values:
Check running all MySQL Server Processes:
Safely Shutdown of MySQL:

Let’s see the Ubuntu Commands:


Check MySQL is running or not:
Start MySQL Service:
Restart MySQL Service:
Stop MySQL Service:
Check Status of MySQL Service:
Check MySQL Config File:
To Change MySQL Root Password:

0 comments:

Post a Comment