Category: Databases

MySQL SHOW USERS: List All Users in a MySQL Database Server

MySQL SHOW USERS: List All Users in a MySQL Database Server: To get more information on the user table, you can preview its columns using the following command: To show users and other information such as host, account locking, and password expiration status, you use the following query: SELECT user, host, account_locked, password_expired FROM user; To get

Read more

How to check MySQL database and table sizes

To check the sizes of all of your databases, at the mysql> prompt type the following command: To check the sizes of all of the tables in a specific database, at the mysql> prompt, type the following command. Replace database_name with the name of the database that you want to check: To View The MySQL/MariaDB Database Size In Linux: Use the

Read more