侧边栏壁纸
博主头像
落叶人生博主等级

走进秋风,寻找秋天的落叶

  • 累计撰写 130562 篇文章
  • 累计创建 28 个标签
  • 累计收到 9 条评论
标签搜索

目 录CONTENT

文章目录

MySQL 5.5 on CentOS/RHEL 6.7

2023-11-15 星期三 / 0 评论 / 0 点赞 / 44 阅读 / 1704 字

From:https://webtatic.com/packages/mysql55/ First, to set up the yum repository, install the webtat


        From: https://webtatic.com/packages/mysql55/


First, to set up the yum repository, install the webtatic-release RPM based on your CentOS/RHEL release:


Webtatic EL6 for CentOS/RHEL 6.x

rpm -Uvh https://mirror.webtatic.com/yum/el6/latest.rpm



Webtatic EL5.1 for CentOS/RHEL 5.x:

rpm -Uvh http://mirror.webtatic.com/yum/el5/latest.rpm



If you already have MySql client or server installed (rpm -q mysql mysql-server), then you can upgrade using the following method:

yum install mysql.`uname -i` yum-plugin-replaceyum replace mysql --replace-with mysql55w

“yum install mysql” is only there to make sure yum-plugin-replace can resolve dependencies correctly if only mysql-server was installed.


Otherwise, to install MySql client and server, then run:

yum install mysql55w mysql55w-server

You should upgrade existing tables before setting the server to become a production machine, which can be done by starting the server and running the mysql_upgrade script (this may take time depending on the size of the database).

service mysqld start

 

# This will issue a password prompt for the user. If you don't have a root user password, remove the "-p"

 mysql_secure_installation


广告 广告

评论区