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?