centos yum mysql-devel 5.5_CentOS 6.*通过yum安装 MySQL-5.5
发布日期:2021-06-24 17:22:02 浏览次数:2 分类:技术文章

本文共 941 字,大约阅读时间需要 3 分钟。

# Enable to use MySQL 5.5

[mysql55-community]

name=MySQL 5.5 Community Server

baseurl=http://repo.mysql.com/yum/mysql-5.5-community/el/6/$basearch/

enabled=1

gpgcheck=1

gpgkey=file:/etc/pki/rpm-gpg/RPM-GPG-KEY-mysql

# Enable to use MySQL 5.6

[mysql56-community]

name=MySQL 5.6 Community Server

baseurl=http://repo.mysql.com/yum/mysql-5.6-community/el/6/$basearch/

enabled=0

gpgcheck=1

gpgkey=file:/etc/pki/rpm-gpg/RPM-GPG-KEY-mysql

fz.gif

3.安装mysql-5.5

yum install mysql-community-client mysql-community-devel mysql-community-server php-mysql

4.调整配置

编辑 /etc/my.cnf 文件

innodb_file_per_table=1 设置InnoDB为独立表空间模式,每个数据库的每个表都会生成一个数据目录

innodb_buffer_pool_size= 默认值:128M,设置为操作系统内存的70%-80%最佳

service mysqld start 启动mysql

chkconfig mysqld on 设为开机启动

mysqladmin -u root password ‘root‘ 设置密码为root

CentOS 6.*通过yum安装 MySQL-5.5

标签:alt   baseurl   /etc/   x86_64   gpo   pos   默认值   table   表空间

本条技术文章来源于互联网,如果无意侵犯您的权益请点击此处反馈版权投诉

本文系统来源:http://www.cnblogs.com/lamp01/p/8075118.html

转载地址:https://blog.csdn.net/weixin_34081553/article/details/113121456 如侵犯您的版权,请留言回复原文章的地址,我们会给您删除此文章,给您带来不便请您谅解!

上一篇:mysql have_mysql HAVING用法详解
下一篇:idea测试用例怎么写_测试用例怎么写?

发表评论

最新留言

能坚持,总会有不一样的收获!
[***.219.124.196]2024年04月25日 00时02分30秒