[PHP-DB] Unable to connect to mysql database
Hi All, I am working on a site which is developed in joomala. We have our domain on www.net4.in. Initially we have tested the site on the WAMP server locally. On the wamp server its working fine, however when we tried to configure it on www.net4.in its not working at all. The site is giving an error called unable to connect to database. I have already configured the config file. Can anyone tell me how to connect the script with the database? Dose anyone have any experience working on www.net4.in control panel? Best, Guru.
[PHP-DB] Re: [PHP-WIN] Unable to connect to mysql database
you need to first check if mysql there on the server is allowed to accept connections from any IP. then configure accordingly your connection credentials including port, password etc. Regards, Ritesh Raghuvanshi (+91) 9702 97 3614 On 10 August 2010 21:47, nagendra prasad nagendra802...@gmail.com wrote: Hi All, I am working on a site which is developed in joomala. We have our domain on www.net4.in. Initially we have tested the site on the WAMP server locally. On the wamp server its working fine, however when we tried to configure it on www.net4.in its not working at all. The site is giving an error called unable to connect to database. I have already configured the config file. Can anyone tell me how to connect the script with the database? Dose anyone have any experience working on www.net4.in control panel? Best, Guru.
RE: [PHP-DB] Unable to connect to mysql database
Hi there, You will have to adjust the configuration file (configuration.php) in your root folder for the new site. var $host = ; var $user = ; var $db = ; they have to reflect the new settings. Hope that helps. Eli Aschkenasy -Original Message- From: nagendra prasad [mailto:nagendra802...@gmail.com] Sent: Tuesday, August 10, 2010 12:18 PM To: phpexpe...@yahoogroups.com; PHP DB; php-wind...@lists.php.net Subject: [PHP-DB] Unable to connect to mysql database Hi All, I am working on a site which is developed in joomala. We have our domain on www.net4.in. Initially we have tested the site on the WAMP server locally. On the wamp server its working fine, however when we tried to configure it on www.net4.in its not working at all. The site is giving an error called unable to connect to database. I have already configured the config file. Can anyone tell me how to connect the script with the database? Dose anyone have any experience working on www.net4.in control panel? Best, Guru. -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php