Mysql數(shù)據(jù)庫一句話問題
來源:懂視網(wǎng)
責編:小采
時間:2020-11-09 12:30:12
Mysql數(shù)據(jù)庫一句話問題
Mysql數(shù)據(jù)庫一句話問題:1:初始化root密碼mysqladmin -uroot password quot;initpasswordquot;2:修改密碼mysql -uroot -p password quot;newpassword 1:初始化root密碼mysqladmin -uroot password initpassword 2:修改密碼mysq
導讀Mysql數(shù)據(jù)庫一句話問題:1:初始化root密碼mysqladmin -uroot password quot;initpasswordquot;2:修改密碼mysql -uroot -p password quot;newpassword 1:初始化root密碼mysqladmin -uroot password initpassword 2:修改密碼mysq
1:初始化root密碼mysqladmin -uroot password quot;initpasswordquot;2:修改密碼mysql -uroot -p password quot;newpassword
1:初始化root密碼
mysqladmin -uroot password "initpassword"
2:修改密碼
mysql -uroot -p password "newpassword"
Enter password:[ enter old password ]
3:建用戶賦予單個庫的任意連接權(quán)限
create database newdb;
grant select, insert, update, delete,create,alter,index,drop on newdb.* to 'user'@'%' identified by '123456';
,
聲明:本網(wǎng)頁內(nèi)容旨在傳播知識,若有侵權(quán)等問題請及時與本網(wǎng)聯(lián)系,我們將在第一時間刪除處理。TEL:177 7030 7066 E-MAIL:11247931@qq.com
Mysql數(shù)據(jù)庫一句話問題
Mysql數(shù)據(jù)庫一句話問題:1:初始化root密碼mysqladmin -uroot password quot;initpasswordquot;2:修改密碼mysql -uroot -p password quot;newpassword 1:初始化root密碼mysqladmin -uroot password initpassword 2:修改密碼mysq