mysql 密码设置与授权
2007-11-11 11:05:41 来源:WEB开发网核心提示:MySQL(和PHP搭配之最佳组合) -u rootSET PASSWORD FOR 'root'@'localhost' = PASSWORD('newpwd'); MySQL(和PHP搭配之最佳组合)> GRANT SELECT,INSERT,UPDATE,DE
MySQL(和PHP搭配之最佳组合) -u root
SET PASSWORD FOR 'root'@'localhost' = PASSWORD('newpwd');
MySQL(和PHP搭配之最佳组合)> GRANT SELECT,INSERT,UPDATE,DELETE,CREATE,DROP
ON *.*
TO mrliu@localhost
IDENTIFIED BY '123456';
更多精彩
赞助商链接