Unable to connect to mysql database
Unable to connect to mysql database
am 10.08.2010 18:17:31 von Nagendra Prasad
--000e0cd20d94a2e9e5048d7a7976
Content-Type: text/plain; charset=ISO-8859-1
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.
--000e0cd20d94a2e9e5048d7a7976--
Re: Unable to connect to mysql database
am 10.08.2010 19:00:44 von Ritesh Raghuvanshi
--000e0cd5f63c15e694048d7b14c5
Content-Type: text/plain; charset=ISO-8859-1
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 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.
>
--000e0cd5f63c15e694048d7b14c5--
Re: Unable to connect to mysql database
am 10.08.2010 19:00:44 von Ritesh Raghuvanshi
--000e0cd5f63c15e694048d7b14c5
Content-Type: text/plain; charset=ISO-8859-1
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 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.
>
--000e0cd5f63c15e694048d7b14c5--
RE: [PHP-DB] Unable to connect to mysql database
am 10.08.2010 21:06:41 von 3dgtech
Hi there,
You will have to adjust the configuration file (configuration.php) in your
root folder for the new site.
var $host = xxxx;
var $user = xxxx;
var $db = xxxx;
they have to reflect the new settings.
Hope that helps.
Eli Aschkenasy
-----Original Message-----
From: nagendra prasad [mailto:nagendra802000@gmail.com]
Sent: Tuesday, August 10, 2010 12:18 PM
To: phpexperts@yahoogroups.com; PHP DB; php-windows@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 Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP-DB] Unable to connect to mysql database
am 10.08.2010 21:06:41 von 3dgtech
Hi there,
You will have to adjust the configuration file (configuration.php) in your
root folder for the new site.
var $host = xxxx;
var $user = xxxx;
var $db = xxxx;
they have to reflect the new settings.
Hope that helps.
Eli Aschkenasy
-----Original Message-----
From: nagendra prasad [mailto:nagendra802000@gmail.com]
Sent: Tuesday, August 10, 2010 12:18 PM
To: phpexperts@yahoogroups.com; PHP DB; php-windows@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 Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: Unable to connect to mysql database
am 11.08.2010 14:51:23 von Vinay Kannan
--0015175caf10053cb6048d8bb513
Content-Type: text/plain; charset=ISO-8859-1
I am guessing the message "unable to connect to database" is something you
have echoed on a die() or as an error message, could you tell us what is the
step before this.
Also just check if the database is set correctly, and the user name and the
password is correct.
Some hosts use the host as localhost, some others do it differently. some
hosts have your primary user name perpended to the database username etc...
Check the configs. I believe its got to do with the host or
username/password
Thanks,
Vinay
On Wed, Aug 11, 2010 at 12:36 AM, 3dgtech wrote:
> Hi there,
>
> You will have to adjust the configuration file (configuration.php) in your
> root folder for the new site.
> var $host = xxxx;
> var $user = xxxx;
> var $db = xxxx;
> they have to reflect the new settings.
> Hope that helps.
>
> Eli Aschkenasy
>
> -----Original Message-----
> From: nagendra prasad [mailto:nagendra802000@gmail.com]
> Sent: Tuesday, August 10, 2010 12:18 PM
> To: phpexperts@yahoogroups.com; PHP DB; php-windows@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
>
>
--0015175caf10053cb6048d8bb513--
Re: Unable to connect to mysql database
am 11.08.2010 14:51:23 von Vinay Kannan
--0015175caf10053cb6048d8bb513
Content-Type: text/plain; charset=ISO-8859-1
I am guessing the message "unable to connect to database" is something you
have echoed on a die() or as an error message, could you tell us what is the
step before this.
Also just check if the database is set correctly, and the user name and the
password is correct.
Some hosts use the host as localhost, some others do it differently. some
hosts have your primary user name perpended to the database username etc...
Check the configs. I believe its got to do with the host or
username/password
Thanks,
Vinay
On Wed, Aug 11, 2010 at 12:36 AM, 3dgtech wrote:
> Hi there,
>
> You will have to adjust the configuration file (configuration.php) in your
> root folder for the new site.
> var $host = xxxx;
> var $user = xxxx;
> var $db = xxxx;
> they have to reflect the new settings.
> Hope that helps.
>
> Eli Aschkenasy
>
> -----Original Message-----
> From: nagendra prasad [mailto:nagendra802000@gmail.com]
> Sent: Tuesday, August 10, 2010 12:18 PM
> To: phpexperts@yahoogroups.com; PHP DB; php-windows@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
>
>
--0015175caf10053cb6048d8bb513--