麼啥技術含量哈,我只是感覺記不住,就寫到部落格裡面,用的時候我自己就來複制
use mysql
CREATE USER 'idns'@'localhost' IDENTIFIED BY '123456';
GRANT SELECT, INSERT, UPDATE, REFERENCES, DELETE, CREATE, DROP, ALTER, INDEX, CREATE VIEW, SHOW VIEW ON `idns`.* TO 'idns'@'%' IDENTIFIED BY '123456';
flush privileges;
修改使用者密碼:
update mysql.user set authentication_string =password('HuXiaoBai002_idns') where user='admin';
flush privileges;
本作品採用《CC 協議》,轉載必須註明作者和本文連結