Mariadb5.5 CentOS6 rpm安装包

时间:2022-04-24 07:02:58
【文件属性】:

文件名称:Mariadb5.5 CentOS6 rpm安装包

文件大小:56.91MB

文件格式:ZIP

更新时间:2022-04-24 07:02:58

mariad 安装

环境:CentOS 6.8 Mariadb:5.5.61 下载 common compat client server四个包 删除相关的mysql包; rpm -qa|grep mysql 然后 yum remove mysqlxxx rpm -i --force --nodeps common.rpm rpm -i --force --nodeps compat.rpm rpm -i client.rpm rpm -i server.rpm /etc/init.d/mysql start 修改root用户密码: '/usr/bin/mysqladmin' -u root password '123456' 修改远程访问权限 mysql -u root -p mysql>use mysql; mysql>select 'host' from user where user='root'; GRANT ALL PRIVILEGES ON *.* TO 'root'@'%'IDENTIFIED BY '123456' WITH GRANT OPTION; flush privileges; 防火墙开启3306端口 # vi /etc/sysconfig/iptables 添加如下内容: -A INPUT -m state --state NEW -m tcp -p tcp --dport 3306 -j ACCEPT 保存并退出编辑 重启防火墙服务 # service iptables restart


【文件预览】:
MariaDB-5.5.61-centos6-x86_64-client.rpm
MariaDB-5.5.61-centos6-x86_64-common.rpm
MariaDB-5.5.61-centos6-x86_64-server.rpm
MariaDB-5.5.61-centos6-x86_64-compat.rpm

网友评论