msyql: mysql rpm安装手记

查看已经安装的包

rpm -qa|grep -i mysql

 

卸载刚才查到的包

rpm -ev packagename

 

安装mysql

rpm -ivh MySQL-server-xx.rpm MySQL-client-xx.rpm MySQL-devel-xx.rpm

 

然后按照指示做就好了

 

添加权限

grant all on database.* to user@host identified by "pass"

给用户user添加xx权限

posted @ 2011-01-18 21:59  foward.molly.宝儿  阅读(456)  评论(0编辑  收藏  举报