In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
1. ERROR 2061 (HY000): Authentication plugin 'caching_sha2_password' reported error: Authentication requires secure connection.
[analysis] mysql8 uses the plug-in caching_sha2_password by default, and some client connections report this error. You need to get the public key of server to encrypt password.
[solution] it can be solved by adding parameters:-- get-server-public-key
Mysql-u sha2user-p-- get-server-public-key. You will also encounter this situation when you copy from master and slave, add get_master_public_key=1.
Change master to
Master_host='192.168.2.135'
Master_port=3306
Master_user='repl_user'
Master_password='123456'
Master_auto_position=1
Get_master_public_key=1
2.Multiple files found for the same tablespace ID:
2019-10-22T15:27:22.848885+08:00 1 [ERROR] [MY-012209] [InnoDB] Multiple files found for the same tablespace ID:
2019-10-22T15:27:22.848904+08:00 1 [ERROR] [MY-012202] [InnoDB] Tablespace ID: 1 = ['sys/sys_config.ibd',' sys/sys_config.ibd']
2019-10-22T15:27:22.848915+08:00 1 [ERROR] [MY-012202] [InnoDB] Tablespace ID: 15 = ['test/t.ibd',' test/t.ibd']
2019-10-22T15:27:22.848922+08:00 1 [ERROR] [MY-012202] [InnoDB] Tablespace ID: 4294967278 = ['undo_002',' undo_002']
2019-10-22T15:27:22.848932+08:00 1 [ERROR] [MY-012202] [InnoDB] Tablespace ID: 4294967279 = ['undo_001',' undo_001']
2019-10-22T15:27:22.848939+08:00 1 [ERROR] [MY-012202] [InnoDB] Tablespace ID: 4294967294 = ['mysql.ibd',' mysql.ibd']
2019-10-22T15:27:22.848952+08:00 1 [ERROR] [MY-012930] [InnoDB] Plugin initialization aborted with error Failed, retry may succeed.
2019-10-22T15:27:22.849080+08:00 1 [ERROR] [MY-010334] [Server] Failed to initialize DD Storage Engine
2019-10-22T15:27:22.849297+08:00 0 [ERROR] [MY-010020] [Server] Data Dictionary initialization failed.
[answer] start the file with the parameter innodb_directories= "/ data/mysqldata;"
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.