[Mysql] Common commands-user operations (create, authorize, modify, delete) and mysql user operations
Each user in Mysql corresponds to different user addresses and permissions.
There are three ways to create a Mysql user: 1. create user 2. grant 3.
1. Install MySQL
Currently MySQL has two forms of file, one is MSI format, one is in the zip format. MSI format directly click Setup.exe, follow the steps. But many people under the zip format of the decompression found no setup.exe, I downloaded
Install MySQL1. Download the MySQL Installation FileThe following two files are required to install MYSQL:
MySQL-server-5.1.7-0.i386.rpm To: http://dev.mysql.com/downloads/mysql/5.1.html, open this webpage and click"Linux x86 generic RPM
MySQLStudy-MySQL User and permission management MySQL server uses the MySQL permission table to control user access to the database. the MySQL permission table is stored in the mysql database and initialized by the mysql_install_db script. These
Han Ligang Teacher Video teaching website http://www.91xueit.comMr. Han QQ458717185No. 01. mysql User and Rights managementMySQL permissions control is controlled by two steps, can not connect (authenticate user identity), what action (verify user
Add a user to MySql, create a database, authorize the user, delete the user, and change the password bitsCN.com
1. create a user.
// Log on to MYSQL
@> Mysql-u root-p
@> Password
// Create a user
Mysql> insert into mysql. user (Host, User,
1. Full backup and incremental backup 1.1 full-scale backupFull-volume data is all the data in the database, and a full backup is the backup of all the data in the database.Back Up all libraries:mysqldump -uroot -p123456 -S /data/3306/mysql.sock -F -
Transferred from: http://www.cnblogs.com/fly1988happy/archive/2011/12/15/2288554.htmlMySQL add user, new database, user authorization, delete user, change password (note that each line followed by A; indicates that a command statement ends):1.
Method 1: Using mysqlroot (root permission) user login direct authorization can also create a user usrbinmysqladmin-urootpassword123456mysql-uroot-p password to view all user names and passwords selecthost, user, passwordf Method 1: using mysql root
MySQL add user, new database, user authorization, delete user, change password (note that each line followed by A; indicates that a command statement ends):1. Create a new user1.1 Log in to MySQL:@>mysql-u root-p@> Password1.2 Create User:mysql>
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.