The MySQL connection test was failing because it didn't specify the database name. MySQL requires a database to be selected when using the -e flag with SELECT queries. Changed: mysql -u"$MYSQL_USER" -e 'SELECT 1' To: mysql -u"$MYSQL_USER" "$MYSQL_DATABASE" -e 'SELECT 1' This fixes the "Impossible de se connecter à MySQL" error in production even when MySQL is working correctly. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
7.5 KiB
Executable File
7.5 KiB
Executable File