Hi, was hoping someone could help me...
My PHP application connects fine to the XAMPP MySQL server ('localhost', 'root', '').
However I need to connect to a hosted MySQL server, while still running the app through localhost. I'm certain my host/login details are correct but it simply won't connect.
I can connect to it when running the PHP on a production server so I'm sure it must be a XAMPP config problem.
Any help would be hugely appreciated!