Daniel Wilson
asked on
PHP mysql_connect to remote server
I am moving an application to a different set of servers with an upgraded stack. I'm going from one Ubuntu server with standard MySql to a pair of CentOS servers. The DB server runs MariaDB.
I can now make the remote connection using mysql -h 10.1.1.1 -u my_user -p my_database, indicating that the firewall is not the problem and neither are the permissions.
However, mysql_connect fails. I've temporarily hard-coded the parameters so I'm sure I'm attempting the right connection.
What other errors should I look for?
Thanks!
I can now make the remote connection using mysql -h 10.1.1.1 -u my_user -p my_database, indicating that the firewall is not the problem and neither are the permissions.
However, mysql_connect fails. I've temporarily hard-coded the parameters so I'm sure I'm attempting the right connection.
What other errors should I look for?
Thanks!
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Open in new window
Oops, yeah, I've upgraded to php 5.6.6.
So ... the upgrade to the newer library is forced.
Thanks!