There are two different ways to add users: using the GRANT statement or directly operating the MySQL authorization table. The better way is to use the GRANT statement, because they are more concise and seem to have fewer errors. The following
Today, we will mainly discuss how to use the MySQL GRANT statement to add new users to the actual operation scheme and illustrate the actual installation steps and specific operations of the MySQL database, if you are interested, you can click the
The following example shows how to use a MySQL client to install a new user. These examples assume that the permission has been installed by default. This means that, in order to change, you must be on the same machine that MySQL is running, you
1. Create a new userLog in to MySQL@>mysql-u root-p@> Password//create user mysql> insert into Mysql.user (Host,user,password) VALUES (' localhost ', ' JEECN ', Password (' JEECN '));Refresh System Permissions TableMysql>flush privileges;This
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
The following example shows how to use a MySQL client to install a new user. These examples assume that the permission has been installed by default. This means that, in order to change, you must be on the same machine that MySQL is running, you
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
In mysql, there are many methods for adding users other than root users. The simplest way for us to understand commands is to directly operate on the GUI, for example, phpmyadmin database management tool. If you know the command, you can directly
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
There are 2 different ways to add users: by using the grant statement or by directly manipulating the MySQL authorization table. The better approach is to use the GRANT statement because they are more concise and seem to have fewer errors.
The
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.