创建一个MYSQL用户
C:>mysql -uroot -p
Enter password: ******
Welcome to the MySQL monitor. Commands end with ; or g.
Your MySQL connection id is 16 to server version: 5.0.18-nt
Type 'help;' or 'h' for help. Type 'c' to clear the buffer.
mysql> CREATE USER yanjz IDENTIFIED BY '123';
Query OK, 0 rows affected (0.03 sec)
mysql> GRANT ALL PRIVILEGES ON *.* TO yanjz;
Query OK, 0 rows affected (0.02 sec)
mysql> flush privileges;
Query OK, 0 rows affected (0.00 sec)
mysql> exit
Bye