标签:
安装mysql时需要的全套安装包
mysql-5.1.73-3.el6_5.i686.rpm
mysql-libs-5.1.73-3.el6_5.i686.rpm
mysql-server-5.1.73-3.el6_5.i686.rpm
openssl-1.0.1e-16.el6_5.14.i686.rpm
perl-DBD-MySQL-4.013-3.el6.i686.rpm
perl-DBI-1.609-4.el6.i686.rpm
1.首先更新 rpm -U openssl-1.0.1e-16.el6_5.14.i686.rpm
2.更新 rpm -Uvh mysql-libs-5.1.73-3.el6_5.i686.rpm
3.安装 rpm -ivh perl-DBI-1.609-4.el6.i686.rpm
4.安装 rpm -ivh perl-DBD-MySQL-4.013-3.el6.i686.rpm
5.最后安装 rpm -ivh mysql-5.1.73-3.el6_5.i686.rpm mysql-server-5.1.73-3.el6_5.i686.rpm
开启mysql服务: service mysqld start
设置mysql的root密码:/usr/bin/mysqladmin -u root password ‘root‘
登录mysql : mysql -u root -p
标签:
原文地址:http://www.cnblogs.com/zjiacun/p/4564888.html