Hi,
I am trying to configure the 2 Tier App (Lab) on different VMs but unable to get the app to connect to the DB. The error message goes like : "2003: 2003:Can’t connect to MySQL server on ‘10.38.174.57’ (13). Here 10.38.174.57 is the mariaSB server.
I have checked through the following:
- Configured Firewall on port 80 (web srv) & 3306 (mariaDB)
- Ensures in index.php script the mysql- connect message specifies the correct user
- Ensures MariaDB has the right privileges assigned on the user plus FLUSH PRIVILEGES
- Restarted both httpd, and also mariaDB…
What else can I look at to troubleshoot this issue? Appreciate if someone can point me out.
Rdgs,
DevOps Learner…