MYSQL adds a new user MYSQL creates a database for the user MYSQL assigns the new user the permission bitsCN.com
MYSQL adds a new user MYSQL creates a database for the user MYSQL assigns permissions to the new user
1. create a user
// Log on to
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
1. new User Login MYSQL @ mysql-uroot-p @ password create user mysqlinsertintomysql. user (Host, User, Password) values ('localhost', jeecn', password ('jeecn'); refresh the system permission table mysqlflushprivileges; then a name is created: jeecn
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
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
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
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 -
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
1. Create a user // Log on to MySQL@> Mysql-u root-P@> Password// Create a userMysql> insert into mysql. User (host, user, password) values ('localhost', 'jeecn', password ('jeecn '));// Refresh the system permission listMysql> flush privileges;In
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.