After Railway's recent redeploy requirement, my MySQL service was upgraded from 8.0 to 8.4 (my source image was set to mysql:8 which resolved to 8.4).
The problem: MySQL 8.4 disables the mysql_native_password plugin by default, but my existing users were created with that authentication method. Now nothing can connect — not my backend, not remote clients, not even Railway's own Database tab (shows 'You have no tables').
Error: ERROR 1524 (HY000): Plugin 'mysql_native_password' is not loaded
I can't fix this myself because:
- I can't connect to run ALTER USER (same auth error)
railway connect fails with the same error
- MYSQLD_ARGS variable doesn't apply to DB config (Railway warns about this)
- Downgrading to mysql:8.0 is risky since the data dictionary was already upgraded to 8.4 format
I need Railway to either:
- Add
--mysql-native-password=ON to my MySQL server startup, OR
- Provide a way to run SQL commands on the server without going through the auth plugin
Project: Qrupones App | Environment: production | Service: MySQL
This is blocking all production traffic. Any help would be greatly appreciated!