Webapplication - Not able to connectto MYSQL database (php application)
Posted on 2013-05-15
I got a web application package. And I configured this (sample app - Fast cgi method) under IIS and defaulted to index,php.
Then I installed the PHP on the same application server and checked the phpinfo.php -- shows up fine. (PHP 5.3)
Then I installed the Mysql under database server and configured and this works fine when I try to conenct through a sample application. Coonected succesfully. (mysqli_connect)
And I want to mention from the package I configured web.config for the host, user, password, database. I also see webans.php whuch contains the hhtp_host..
I don't have any clue how to make this web application to talk to mysql.
Always I get target machine refused it error But when I use my sample application with mysqli_connect -- works fine..
Please let me know of any suggestions...