June 2018
Intermediate to advanced
596 pages
12h 39m
English
You can create MySQL users either from Command Prompt or by using MySQL Workbench:
mysql -u root -p<root_password>
mysql>
mysql>use mysql; Database changed mysql>create user 'user1'@'%' identified by 'user1_pass'; mysql>grant all privileges on *.* to 'user1'@'%' with grant option
The preceding command will create a user named 'user1' with password 'user1_pass' having all privileges, for example to insert, update, and select from the database. And because we have specified the host as '%', this ...
Read now
Unlock full access