您好,登錄后才能下訂單哦!
筆者下午趟了一下午的水
rpm -qa mariadb*
yum remove mariadb-libs-5.5.56-2.el7.x86_64-y
rpm -ivh mysql-community-common-5.7.9-1.el7.x86_64.rpm
rpm -ivh mysql-community-libs-5.7.9-1.el7.x86_64.rpm
rpm -ivh mysql-community-libs-compat-5.7.9-1.el7.x86_64.rpm
rpm -ivh mysql-community-devel-5.7.9-1.el7.x86_64.rpm
rpm -ivh mysql-community-client-5.7.9-1.el7.x86_64.rpm
錯誤:
[root@s153mysqlrpm]# rpm -ivh mysql-community-server-5.7.9-1.el7.x86_64.rpm
警告:mysql-community-server-5.7.9-1.el7.x86_64.rpm:頭V3 DSA/SHA1 Signature, 密鑰 ID 5072e1f5: NOKEY
錯誤:依賴檢測失敗:
net-tools 被mysql-community-server-5.7.9-1.el7.x86_64 需要
[root@s153mysqlrpm]#
解決辦法:
yum -yinstall net-tools
rpm-ivh mysql-community-server-5.7.9-1.el7.x86_64.rpm
問題:unblock with'mysqladmin flush-hosts'Connection closed by foreign host
解決辦法:
http://www.cnblogs.com/susuyu/archive/2013/05/28/3104249.html
mysql>start slave;
ERROR1872 (HY000): Slave failed to initialize relay log info structure from therepository
解決辦法:重新做主從
stopslave;
resetslave;
changemaster to
master_host='masterip',
master_user='slave',
master_password='123456',
master_port=3306,
master_log_file='mysql-bin.000145',
master_log_pos=193963694;
showslave status \G 報錯
Got fatal error 1236 from master when readingdata from binary log: 'A
slave with the same server_uuid as this slavehas connected to the master;
the first event 'mysql-bin.000155' at193963604, the last event read from
'./mysql-bin.000155' at 123, the last byteread from './mysql-bin.000155' at 193963604.'
showvariables like 'server_id';
mv datadir/auto.cnf /tmp
systemctl restart mysqld
主要是拷貝auto.cnf 重復
免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。