Find out MySQL database URL from phpMyAdmin

Philip Kirkbride picture Philip Kirkbride · Jun 5, 2012 · Viewed 9.6k times · Source

I have an online MySQL database. I want to figure out the server URL so I can remotely connect to it.

Is there a way I can check my databases URL from phpMyAdmin?

Answer

David Manheim picture David Manheim · Jun 15, 2012

Remote connections are turned off by default.

Per Ashes999's comment: Ask your web hosting company.

Alternatively, per Here, try: echo $_SERVER['SERVER_ADDR'];.