mysql 添加用户

2017-05-15  本文已影响11人  Dico_zhang

http://www.cnblogs.com/wanghetao/p/3806888.html
insert into mysql.user(Host,User,Password) values("localhost","tin",password("tinS0n!c"));
create database tin;
grant all privileges on tin.* to tin@localhost identified by "tinS0n!c";
flush privileges;

上一篇下一篇

猜你喜欢

热点阅读