3.2 启动各版本数据库启动MySQL5616/usr/local/mysql5616/bin/mysqld_safe --defaults-file=/data/5616/my.cnf &启动MySQL5733/usr/local/bin/mysqld_safe --defaults-file=/data/5733/my.cnf &启动MySQL8021/usr/local/bin/mysqld_safe --defaults-file=/data/8021/my.cnf &查看多实例启动情况[root@db01 mysql8021]# netstat -lntpActive Internet connections (only servers)Proto Recv-Q Send-Q Local AddressForeign AddressStatePID/Program nametcp00 0.0.0.0:220.0.0.0:*LISTEN6694/sshdtcp600 :::3306:::*LISTEN11099/./bin/mysqldtcp600 :::3307:::*LISTEN9767/mysqldtcp600 :::3308:::*LISTEN11408/mysqldtcp600 :::22:::*LISTEN6694/sshdtcp600 :::33060:::*LISTEN11408/mysqld3.3 启动过程错误解决[root@db01 opt]# /usr/local/mysql5733/bin/mysqld 2021-07-04T06:50:33.162662Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).2021-07-04T06:50:33.162787Z 0 [Note] --secure-file-priv is set to NULL. Operations related to importing and exporting data are disabled2021-07-04T06:50:33.162827Z 0 [Note] /usr/local/mysql5733/bin/mysqld (mysqld 5.7.33) starting as process 8912 ...2021-07-04T06:50:33.162871Z 0 [ERROR] Can't find error-message file '/usr/local/mysql/share/errmsg.sys'. Check error-message file location and 'lc-messages-dir' configuration directive.2021-07-04T06:50:33.164529Z 0 [Warning] Can't create test file /usr/local/mysql/data/db01.lower-test2021-07-04T06:50:33.164560Z 0 [Warning] Can't create test file /usr/local/mysql/data/db01.lower-test2021-07-04T06:50:33.164596Z 0 [ERROR] Fatal error: Please read "Security" section of the manual to find out how to run mysqld as root!2021-07-04T06:50:33.164629Z 0 [ERROR] Aborting2021-07-04T06:50:33.164662Z 0 [Note] Binlog end2021-07-04T06:50:33.164732Z 0 [Note] 这个错误是配置文件中有空格导致的.检查是否有空格
【MySQL不同版本多实例部署】
推荐阅读
- 对MySQL底层索引深度解析
- 微软|告别黄色“焦虑”!Win11新版任务管理器曝光:可自定义强调色
- 铁观音价格等级,不同等级铁观音的划分方法与价格
- 小米12|“直屏版小米12”!小米12 Lite真机曝光:骁龙778G加持
- 手把手教你搭建高逼格监控平台,第二弹,监控mysql
- 教你使用Python预测天气
- 托福和雅思的区别是什么?
- 云南泼水节是什么时候 西双版纳泼水节是什么时候
- 什么紫色有哪些颜色,白玉兰与紫玉兰有什么不同
- 华纳兄弟|盗版背后捅刀 数字发行惜败
