Home | Mirror | Search |
准备下面的软件包
# ls -1 MySQL-client-5.5.25-1.el6.x86_64.rpm MySQL-devel-5.5.25-1.el6.x86_64.rpm MySQL-server-5.5.25-1.el6.x86_64.rpm MySQL-shared-5.5.25-1.el6.x86_64.rpm MySQL-shared-compat-5.5.25-1.el6.x86_64.rpm
使用 yum 本地安装 rpm, yum 可以帮你解决依赖于冲突
# yum localinstall MySQL-*
创建远程用户
grant all PRIVILEGES ON *.* to root@'192.168.%' identified by '24DkJtGnEBO7sl6AQRaV' with grant option;
上面是 CenOS 6.2 最小化安装 ,如果你已经安装光盘中自带的 mysql 请先卸载
rpm -e --nodeps mysql-5.1.52-1.el6_0.1.x86_64 mysql-server-5.1.52-1.el6_0.1.x86_64 qt-mysql-4.6.2-20.el6.x86_64