MySQL connection with URL

with PHP maker 2026.1 MySQL url connection test is successfull but genrated code return error and asking MySQL version . can you please help me

Note that the remote connection info from your PC with the UI via URL (actually connecting by HTTP tunneling) may not be exactly the same as the connection info to connect on your web server with PHP. On your web server, you are not using URL connection, you connect to the database directly via TCP/IP with PHP. The error suggested that the connection info on your server is wrong.

If you use “production” mode, check your connection info in the .env.prod.local. If you use “localhost”, it may not be correct on your web server if the MySQL server is not on the same server. Read Setting Production Connection Info about how to set your production server connection info.