MySQL Administration
This chapter introduces the knowledge related to managing databases in MySQL, including user permissions, changing passwords, data backup, starting, stopping, and restarting databases.
-
MySQL Start/Stop
This tutorial walks you through how to start/stop/restart a MySQL server on Linux and Windows. -
MySQL Create User
This article describes how to use theCREATE USERstatement to create a new user in MySQL database server. -
MySQL Drop User
This article describes how to drop one or more user accounts from a MySQL server using theDROP USERstatement. -
MySQL Rename User
This article describes how to use theRENAME USERstatement to rename one or more users in MySQL database server. -
MySQL Change Password
This article describes how to useUPDATE,SET PASSWORD, andALTER USERstatements to change user password in MySQL. -
MySQL Show Users
This article describes how to list all users in a MySQL database server in MySQL. -
MySQL Lock Users
This article describes how to lock user account in MySQL. -
MySQL Unlock Users
This article describes how to unlock one or more locked user accounts in MySQL. -
MySQL GRANT
This article describes how to use MySQLGRANTstatement to grant specified privileges to a specified user -
MySQL Revoke Privileges
This article will take you to learn how to use theREVOKEstatement to revoke user permissions. -
MySQL Show Grants
This article describes how to use theSHOW GRANTSstatement to list the privileges granted to a user or role. -
MySQL Role
In this tutorial, you will learn how to use MySQL roles to simplify permissions management. -
MySQL Show Databases
This article describes two ways to list all databases in MySQL,SHOW DATABASESandinformation_schema.schemata. -
MySQL Show Tables
This article describes how to use theSHOW TABLESstatement list all tables in a specified database. -
MySQL Show Columns
In MySQL,SHOW COLUMNSstatement is used to show information about all the columns of a table -
MySQL DESC
In MySQL,DESCstatements are used to display all columns of a table. -
MySQL Maintain Tables
MySQL provides several statements for maintaining tables,ANALYZE TABLE,OPTIMIZE TABLE,CHECK TABLEandREPAIR TABLE. -
MySQL Backup
Themysqldumpis a tool for making backup of MySQL databases, it can export MySQL database as a sql file. -
MySQL Restore
MySQL provides theSOURCEcommand to help you restore a database from a dump file. -
MySQL Show Processlist
This article describes how to use theSHOW PROCESSLISTstatement display all connections for the current MySQL database server.