mysql如何設置密碼

新裝的mysql默認是沒有密碼的,下面咱們直接root用戶進入mysqljava 有不少方法: 1.用root 進入mysql後 mysql>set password =password('你的密碼'); mysql>flush privileges; 2.使用GRANT語句 mysql>grant all on *.* to 'root'@'localhost' IDENTIFIED BY '你
相關文章
相關標籤/搜索