I have IIS and Apache installed on the same box. IIS is listening to port 80 and I have apache configured to listen to port 90.
When I try to connect to the MySQL database using mysqli_connect I keep getting the error 'Unknown MySQL server host 127.0.0.1:90.
This is what my connection string looks like:
mysqli_connect ("127.0.0.1:90", "root", "pass", "prodDB", "3306")
I also changed my php.ini to set the mysqli.default_host = 127.0.0.1:90
Any ideas?
- VB Rookie
When I try to connect to the MySQL database using mysqli_connect I keep getting the error 'Unknown MySQL server host 127.0.0.1:90.
This is what my connection string looks like:
mysqli_connect ("127.0.0.1:90", "root", "pass", "prodDB", "3306")
I also changed my php.ini to set the mysqli.default_host = 127.0.0.1:90
Any ideas?
- VB Rookie