In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-31 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)05/31 Report--
This article mainly explains how to install percona server 5.7. friends who are interested may wish to have a look. The method introduced in this paper is simple, fast and practical. Let the editor take you to learn "how to install percona server 5.7".
1 if there is a rpm package installed on the machine, be sure to turn off the default / etc/my.cnf mv to prevent subsequent initialization startup errors
2 pay attention to the order of parameters during initialization-defaults-file is put in front of it.
/ home/mysql/mysql/bin/mysql-S / home/mysql/my3313/run/mysql.sock-uroot-p
Set password for 'root'@'localhost'='mx3h7ccZ3RO'
/ home/mysql/mysql/bin/mysqld-defaults-file=/home/mysql/my3311.cnf-initialize-user=mysql-basedir=/home/mysql/mysql-datadir=/home/mysql/my3311/data
/ home/mysql/mysql/bin/mysqld_safe-defaults-file=/home/mysql/my3311.cnf-user=mysql > / tmp/mysql_star.log 2 > & 1 &
/ home/mysql/mysql/bin/mysqld-defaults-file=/home/mysql/my3312.cnf-initialize-user=mysql-basedir=/home/mysql/mysql-datadir=/home/mysql/my3312/data
/ home/mysql/mysql/bin/mysqld_safe-defaults-file=/home/mysql/my3312.cnf-user=mysql > / tmp/mysql_star.log 2 > & 1 &
/ home/mysql/mysql/bin/mysqld-defaults-file=/home/mysql/my3313.cnf-initialize-user=mysql-basedir=/home/mysql/mysql-datadir=/home/mysql/my3313/data
/ home/mysql/mysql/bin/mysqld_safe-defaults-file=/home/mysql/my3313.cnf-user=mysql > / tmp/mysql_star.log 2 > & 1 &
-- percona runs on a single machine and multiple instances
Master-slave building:
Main library
Reset master
Reset slave
Grant replication slave,reload on *. * to "slave" @ "10.50.61.21" identified by "fhSU6ayL"
Flush privileges
Show master status
From the library:
Stop slave
Reset master
Reset slave
Change master to master_host= "10.50.61.21", master_user= "slave", master_password= "fhSU6ayL", master_port=3310,master_log_file= "binlog.000001", master_log_pos=608
Start slave
Show slave status\ G
At this point, I believe you have a deeper understanding of "how to install percona server 5.7". You might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.