Closed xiaokentrl closed 5 months ago
一次只能启动一个版本的MySQL,能否改一下/tmp/mysql.sock为/tmp/mysql57.sock和/tmp/mysql.sock为/tmp/mysql80.sock ,使其支持多个版本的服务同时运行??
2024-05-20T04:41:15.236830+08:00 0 [ERROR] [MY-010259] [Server] Another process with pid 977 is using unix socket file. 2024-05-20T04:41:15.237043+08:00 0 [ERROR] [MY-010268] [Server] Unable to setup unix socket lock file. 2024-05-20T04:41:15.237408+08:00 0 [ERROR] [MY-010119] [Server] Aborting 2024-05-20T04:41:16.227435+08:00 0 [System] [MY-010910] [Server] /Applications/EServer/software/server/mysql-8.0/bin/mysqld: Shutdown complete (mysqld 8.0.25) MySQL Community Server - GPL. 2024-05-20T04:41:17.523701+08:00 0 [System] [MY-010116] [Server] /Applications/EServer/software/server/mysql-8.0/bin/mysqld (mysqld 8.0.25) starting as process 1035 2024-05-20T04:41:17.530673+08:00 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started. 2024-05-20T04:41:17.597212+08:00 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended. 2024-05-20T04:41:17.755726+08:00 0 [ERROR] [MY-010259] [Server] Another process with pid 977 is using unix socket file. 2024-05-20T04:41:17.755926+08:00 0 [ERROR] [MY-010268] [Server] Unable to setup unix socket lock file. 2024-05-20T04:41:17.756285+08:00 0 [ERROR] [MY-010119] [Server] Aborting 2024-05-20T04:41:18.681457+08:00 0 [System] [MY-010910] [Server] /Applications/EServer/software/server/mysql-8.0/bin/mysqld: Shutdown complete (mysqld 8.0.25) MySQL Community Server - GPL. 2024-05-20T04:41:39.826872+08:00 0 [System] [MY-010116] [Server] /Applications/EServer/software/server/mysql-8.0/bin/mysqld (mysqld 8.0.25) starting as process 1052 2024-05-20T04:41:39.833969+08:00 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started. 2024-05-20T04:41:39.904297+08:00 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended. 2024-05-20T04:41:40.072813+08:00 0 [ERROR] [MY-010259] [Server] Another process with pid 977 is using unix socket file. 2024-05-20T04:41:40.073023+08:00 0 [ERROR] [MY-010268] [Server] Unable to setup unix socket lock file. 2024-05-20T04:41:40.073622+08:00 0 [ERROR] [MY-010119] [Server] Aborting 2024-05-20T04:41:40.999405+08:00 0 [System] [MY-010910] [Server] /Applications/EServer/software/server/mysql-8.0/bin/mysqld: Shutdown complete (mysqld 8.0.25) MySQL Community Server - GPL. 2024-05-20T04:42:40.234806+08:00 0 [System] [MY-010116] [Server] /Applications/EServer/software/server/mysql-8.0/bin/mysqld (mysqld 8.0.25) starting as process 1113 2024-05-20T04:42:40.241942+08:00 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started. 2024-05-20T04:42:40.307154+08:00 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended. 2024-05-20T04:42:40.493718+08:00 0 [System] [MY-010931] [Server] /Applications/EServer/software/server/mysql-8.0/bin/mysqld: ready for connections. Version: '8.0.25' socket: '/tmp/mysql.sock' port: 3308 MySQL Community Server - GPL.
示例:在配置文件[mysqld]组里,添加socket=/tmp/mysql-5.7.sock 另外配置问题, 将在下个版本修复
[mysqld]
socket=/tmp/mysql-5.7.sock
一次只能启动一个版本的MySQL,能否改一下/tmp/mysql.sock为/tmp/mysql57.sock和/tmp/mysql.sock为/tmp/mysql80.sock ,使其支持多个版本的服务同时运行??
2024-05-20T04:41:15.236830+08:00 0 [ERROR] [MY-010259] [Server] Another process with pid 977 is using unix socket file. 2024-05-20T04:41:15.237043+08:00 0 [ERROR] [MY-010268] [Server] Unable to setup unix socket lock file. 2024-05-20T04:41:15.237408+08:00 0 [ERROR] [MY-010119] [Server] Aborting 2024-05-20T04:41:16.227435+08:00 0 [System] [MY-010910] [Server] /Applications/EServer/software/server/mysql-8.0/bin/mysqld: Shutdown complete (mysqld 8.0.25) MySQL Community Server - GPL. 2024-05-20T04:41:17.523701+08:00 0 [System] [MY-010116] [Server] /Applications/EServer/software/server/mysql-8.0/bin/mysqld (mysqld 8.0.25) starting as process 1035 2024-05-20T04:41:17.530673+08:00 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started. 2024-05-20T04:41:17.597212+08:00 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended. 2024-05-20T04:41:17.755726+08:00 0 [ERROR] [MY-010259] [Server] Another process with pid 977 is using unix socket file. 2024-05-20T04:41:17.755926+08:00 0 [ERROR] [MY-010268] [Server] Unable to setup unix socket lock file. 2024-05-20T04:41:17.756285+08:00 0 [ERROR] [MY-010119] [Server] Aborting 2024-05-20T04:41:18.681457+08:00 0 [System] [MY-010910] [Server] /Applications/EServer/software/server/mysql-8.0/bin/mysqld: Shutdown complete (mysqld 8.0.25) MySQL Community Server - GPL. 2024-05-20T04:41:39.826872+08:00 0 [System] [MY-010116] [Server] /Applications/EServer/software/server/mysql-8.0/bin/mysqld (mysqld 8.0.25) starting as process 1052 2024-05-20T04:41:39.833969+08:00 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started. 2024-05-20T04:41:39.904297+08:00 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended. 2024-05-20T04:41:40.072813+08:00 0 [ERROR] [MY-010259] [Server] Another process with pid 977 is using unix socket file. 2024-05-20T04:41:40.073023+08:00 0 [ERROR] [MY-010268] [Server] Unable to setup unix socket lock file. 2024-05-20T04:41:40.073622+08:00 0 [ERROR] [MY-010119] [Server] Aborting 2024-05-20T04:41:40.999405+08:00 0 [System] [MY-010910] [Server] /Applications/EServer/software/server/mysql-8.0/bin/mysqld: Shutdown complete (mysqld 8.0.25) MySQL Community Server - GPL. 2024-05-20T04:42:40.234806+08:00 0 [System] [MY-010116] [Server] /Applications/EServer/software/server/mysql-8.0/bin/mysqld (mysqld 8.0.25) starting as process 1113 2024-05-20T04:42:40.241942+08:00 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started. 2024-05-20T04:42:40.307154+08:00 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended. 2024-05-20T04:42:40.493718+08:00 0 [System] [MY-010931] [Server] /Applications/EServer/software/server/mysql-8.0/bin/mysqld: ready for connections. Version: '8.0.25' socket: '/tmp/mysql.sock' port: 3308 MySQL Community Server - GPL.