How to connect to mysql app from java app?

It looks like you have a redundant https:// scheme in the prefix of the above…

jdbc:mysql://{your app name}.internal/{your db name}

{your app name} is name of the application when you did “fly launch” process.
{your db name} is the name you specified in fly.toml under MYSQL_DATABASE key.

https://community.fly.io/t/no-suitable-driver-found-for-mysql-database-docker-app-with-mysql-app/16000/2