mysql添加用戶

mysql添加用戶
先以root用戶登入
選擇要添加的數據庫(jbpm)
use jbpm
grant all on jbpm to scott@localhost identified by scott
刪除用戶
mysql -uroot -proot
use mysql
delete from user where user=scott and host=localhost;
flush privileges;

發佈留言