随笔 - 124  文章 - 1 评论 - 28 trackbacks - 3

查看已经安装的包

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 on 2011-01-18 21:59 foward.molly.宝儿 阅读(...) 评论(...) 编辑 收藏