Site icon Database Tutorials

MySQL Basic Administration Commands

 

If you are beginner then this post will help you to monitor the mysql server.

Here I am listing some most commonly used MySQL administration commands.

> mysql -u root -p

> show databases;

> select DATABASE();

> show tables;

> select DATABASE() FROM DUAL;

> show engines;

> show tables status;

> show processlist;

> show variables like ‘%gen%’;

Note:- You can use single quote ‘ ‘ instead of ” “ on windows environment on linux system you should use  single quote ‘  ‘  only.

> set global general_log=’OFF’;

> show global variables like ‘%version%’;

> status;

How to do MySQL binary installation.

Click here :-  https://dbtut.com/index.php/2018/08/17/how-to-do-mysql-binary-installation/

Exit mobile version