幾個sql語句

UPDATE wp_blogoptions SET option_value ='http://192.168.1.108' WHERE option_name = 'home' OR option_name = 'siteurl';

update user set host='localhost'  where user='root';

select 'host','user' from user where user='root';

grant select,insert,update,delete on *.* to test1@"localhost" identified by "test";

grant all privileges on discuz.* to frank@"%" identified by 'frank';

insert into mysql.user (host, user, password) values ('localhost', 'root', password('123456'));

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章