mysql连接测试不成功的原因有哪些
281
2022-11-13
记一次云计算测试实验-openstack-icehouse-安装ntp-qpid-mysql
mysql可以用mariadb替代
先前在看到一位老师写了七版本的部署方案,写的很赞,已经收藏。
yum install ntp -y
vi /etc/ntp.conf
#server 0.centos.pool.ntp.org iburst
#server 1.centos.pool.ntp.org iburst
#server 2.centos.pool.ntp.org iburst
#server 3.centos.pool.ntp.org iburst
restrict 192.168.100.0 mask 255.255.255.0 nomodify
server 127.127.1.0
fudge 127.127.1.0 stratum 10
service ntpd restart
chkconfig ntpd on
ntpstat
ntpq -p
yum install mysql mysql-server MySQL-python -y
vi /etc/my.cnf
bind-address = 192.168.100.10
default-storage-engine = innodb
innodb_file_per_table
collation-server = utf8_general_ci
init-connect = 'SET NAMES utf8'
character-set-server = utf8
service mysqld restart
chkconfig mysqld on
mysql_install_db
/usr/bin/mysqladmin -u root password '000000'
mysql_secure_installation
Remove anonymoususers? [Y/n] y
Disallowroot login remotely? [Y/n] n
Removetest database and access to it? [Y/n] y
Reloadprivilege tables now? [Y/n] y
yum install yum-plugin-priorities openstack-utils openstack-selinux -y
yum upgrade -y
yum install qpid-cpp-server -y
vi /etc/qpidd.conf
auth=no
service qpidd restart
chkconfig qpidd on
版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。
发表评论
暂时没有评论,来抢沙发吧~