参考 https://greatsql.cn/docs/8032-25 ... centos-install.html 安装完成,确认server 进程已经启动,随后,尝试进入客户端; mysql 版本信息:mysql Ver 8.0.25 for Linux on x86_64 (Source distribution) 报错:ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) /tmp 目录下只有 mysqlx.sock; 尝试:建立软连接ln -s mysqlx.sock mysql.sock 报错:ERROR 2007 (HY000): Protocol mismatch; server version = 11, client version = 10 其他信息: datadir目录下存在mysql.sock mysql.sock.lock文件,不知有什么用 错误日志: 2024-02-25T13:51:45.183465+08:00 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed. 2024-02-25T13:51:45.183507+08:00 0 [System] [MY-013602] [Server] Channel mysql_main configured to support TLS. Encrypted connections are now supported for this channel. 2024-02-25T13:51:45.183549+08:00 0 [Note] [MY-010308] [Server] Skipping generation of RSA key pair through --sha256_password_auto_generate_rsa_keys as key files are present in data directory. 2024-02-25T13:51:45.183561+08:00 0 [Note] [MY-010308] [Server] Skipping generation of RSA key pair through --caching_sha2_password_auto_generate_rsa_keys as key files are present in data directory. 2024-02-25T13:51:45.183710+08:00 0 [Note] [MY-010252] [Server] Server hostname (bind-address): '*'; port: 3306 2024-02-25T13:51:45.183891+08:00 0 [Note] [MY-010253] [Server] IPv6 is available. 2024-02-25T13:51:45.183902+08:00 0 [Note] [MY-010264] [Server] - '::' resolves to '::'; 2024-02-25T13:51:45.183917+08:00 0 [Note] [MY-010251] [Server] Server socket created on IP: '::'. 2024-02-25T13:51:45.204209+08:00 0 [Note] [MY-011025] [Repl] Failed to start slave threads for channel ''. 2024-02-25T13:51:45.205812+08:00 5 [Note] [MY-010051] [Server] Event Scheduler: scheduler thread started with id 5 2024-02-25T13:51:45.205844+08:00 0 [System] [MY-010931] [Server] /usr/local/GreatSQL-8.0.32-25-Linux-glibc2.17-x86_64/bin/mysqld: ready for connections. Version: '8.0.32-25' socket: '/home/data_redo/yxz/data/GreatSQL/mysql.sock' port: 3306 GreatSQL, Release 25, Revision 79f57097e3f. 2024-02-25T13:51:45.205956+08:00 0 [Note] [MY-011240] [Server] Plugin mysqlx reported: 'Using SSL configuration from MySQL Server' 2024-02-25T13:51:45.206377+08:00 0 [Note] [MY-011243] [Server] Plugin mysqlx reported: 'Using OpenSSL for TLS connections' 2024-02-25T13:51:45.206483+08:00 0 [System] [MY-011323] [Server] X Plugin ready for connections. Bind-address: '::' port: 33060, socket: /tmp/mysqlx.sock 2024-02-25T13:55:37.259684+08:00 8 [Note] [MY-010914] [Server] Got an error reading communication packets |
KAiTO
2024-2-26 09:24:51
| ||
cse_engineer
2024-2-26 09:28:03
| ||
KAiTO
2024-2-26 09:29:35
| ||
合作电话:010-64087828
社区邮箱:greatsql@greatdb.com