mysql error when trying to redeploy and reinitialize
I'm getting this error when I try to redeploy my application, it was working before, but now it's not, I haven't changed anything
2024-09-04T20:56:58.385972Z 0 [System] [MY-015015] [Server] MySQL Server - start.
2024-09-04T20:56:58.619261Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.4.2) starting as process 7
2024-09-04T20:56:58.627643Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
2024-09-04T20:56:58.992679Z 1 [ERROR] [MY-014061] [InnoDB] Invalid MySQL server downgrade: Cannot downgrade from 90001 to 80402. Downgrade is only permitted between patch releases.
mysqld: Can't open file: 'mysql.ibd' (errno: 0 - )
2024-09-04T20:56:59.006383Z 1 [ERROR] [MY-010334] [Server] Failed to initialize DD Storage Engine
2024-09-04T20:56:59.006651Z 0 [ERROR] [MY-010020] [Server] Data Dictionary initialization failed.
2024-09-04T20:56:59.006684Z 0 [ERROR] [MY-010119] [Server] Aborting
2024-09-04T20:56:59.008381Z 0 [System] [MY-010910] [Server] /usr/sbin/mysqld: Shutdown complete (mysqld 8.4.2) MySQL Community Server - GPL.
2024-09-04T20:56:59.008413Z 0 [System] [MY-015016] [Server] MySQL Server - end.
3 Replies
Project ID:
fa9f3de7-72fc-4746-b299-f3864b71bcc9
fa9f3de7-72fc-4746-b299-f3864b71bcc9
Solution
I solved it by changing the image from mysql 8 to 9