centos下面安装mysql
来源:互联网 发布:sql server 2005 x64 编辑:程序博客网 时间:2024/05/16 01:20
MySQL 5.5 and 5.1 on CentOS 5.5
In a couple of days, MySQL 5.1 will move to extended lifecycle support, where only security fixes and the most severe bugs are fixed. MySQL 5.0 has bee like this for a year already. Typically,extended lifecycle will last for two years, after which will become end-of-line, where no support is guaranteed.
CentOS 5.x has been providing MySQL 5.0 in it’s distribution since that was the active stable branch when CentOS 5.0 was released on 12th April 2007 (or more specifically it’s upstream distribution RHEL 5, which was released 14th March 2007). Since then, Sun/Oracle have released MySQL 5.1 and MySQL 5.5, so the Webtatic Yum repository has added them to it’s web stack, which now provides updated versions of all the AMP in LAMP.
This release is different from the previous packages, since it is important to only upgrade MySQL when you are ready, and you may want to chose to follow only 5.1 updates or 5.5 updates. This does mean though that you will have to uninstall your current mysql installation first.
First, to set up the yum repository, install the webtatic-release RPM:
rpm -Uvh http://repo.webtatic.com/yum/centos/5/latest.rpm
MySQL client library is used with several CentOS packages, so to remove MySQL without them, I have a mysql client library which is independent of the client tools, which can be installed first to be used instead.
yum install libmysqlclient15 --enablerepo=webtatic
Then you can uninstall MySQL:
yum remove mysql mysql-*
Then install the new MySQL version (either mysql51 or mysql55 can be installed here):
yum install mysql55 mysql55-server --enablerepo=webtatic
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 startmysql_upgrade
- centos下面安装mysql
- centos 6.5 下面安装mysql 5.6.21
- CentOS 7下面安装mysql数据库
- centos 下面安装 samba
- centos 下面安装lamp
- linux(3) -- centos下面安装配置mysql
- mysql在Centos下面重新安装
- centos下面升级MariaDB mysql
- centos 下面安装firefox 命令
- linux centos 下面安装 apache
- CentOS下面安装ftp服务器
- centos下面安装matlab R2014b
- Windows 下面安装Mysql
- Ubuntu下面安装mysql
- mysql linux 下面安装
- centos 下面创建mysql+php+vsftpd环境
- centos 下面修改mysql的root密码
- mysql linux 下面的安装
- UVa 10037 - Bridge
- VISTA、Win Server 2008、Win7 等系统音频系统底层API
- C++性能之内联函数
- XML的SAX解析器创建
- table布局 height=100%无效分析
- centos下面安装mysql
- You have tried to change the API from what has been previously approved.
- 计算几何求公式
- iPhone操作队列 VS Java线程池
- C/C++ 文件输入输出
- RHEL5无人值守安装
- UVa 311 - Packets
- 架构设计专栏01-跨程序域通信
- Struts2.0中的Cookie(实现自动登录)