Set the host for mysql to the correct IP when using a remote MySQL server

Version 1.222


Currently, when using a remote mysql server, the "host" value is still set to use "localhost". With this addition, if the connection doesn't go to localhost, the IP of the server will also be added as an access host. Current workaround: add an access host to allow the connections. Also show the actual mysql connection value once the database is created. "localhost" is not correct for remote mysql servers.

Interested to try DirectAdmin? Get a 30-day Free Trial!