shell脚本自动化部署mysql报错
请问我按照脚本初始化都成功了,但是再star mysql启动的时候,/data/mysql/data/master.err下日志报错:
2023-11-23T03:14:51.948251Z 1 [ERROR] [MY-012592] [InnoDB] Operating system error number 2 in a file operation.
2023-11-23T03:14:51.948389Z 1 [ERROR] [MY-012593] [InnoDB] The error means the system cannot find the path specified.
2023-11-23T03:14:51.948439Z 1 [ERROR] [MY-012594] [InnoDB] If you are installing InnoDB, remember that you must create directories yourself, InnoDB does not create them. 2023-11-23T03:14:51.948488Z 1 [ERROR] [MY-012646] [InnoDB] File ./ibdata1: 'open' returned OS error 71. Cannot continue operation 2023-11-23T03:14:51.948536Z 1 [ERROR] [MY-012981] [InnoDB] Cannot continue operation.

恭喜解决一个难题,获得1积分~
来为老师/同学的回答评分吧
0 星