Difference between revisions of "MySQL Cheat Sheet"
Jump to navigation
Jump to search
| Line 2: | Line 2: | ||
mysql> SELECT user FROM mysql.user; | mysql> SELECT user FROM mysql.user; | ||
| + | |||
| + | '''Create New User''' | ||
| + | |||
| + | mysql> CREATE USER 'newuser' IDENTIFIED BY 'password'; | ||
Revision as of 22:15, 19 July 2022
List MySQL Users
mysql> SELECT user FROM mysql.user;
Create New User
mysql> CREATE USER 'newuser' IDENTIFIED BY 'password';