RE: [PHP-DB] Cannot connect to MySQL using

2006-03-30 Thread Nur_Adman
Thanks so much, Constantin... Regards, Anita -Original Message- From: Constantin Wolber [mailto:[EMAIL PROTECTED] Sent: Thursday, March 30, 2006 5:44 PM To: php-db@lists.php.net Subject: Re: [PHP-DB] Cannot connect to MySQL using [EMAIL PROTECTED] wrote: >Then cha

Re: [PHP-DB] Cannot connect to MySQL using

2006-03-30 Thread Constantin Wolber
[EMAIL PROTECTED] wrote: Then change : 127.0.0.1 localhost become : 157.47.115.180 [my_server_name] Changing this line is probably not the best way. This file is used for resolving the hostnames ti ip adresses. So a better way would probably be adding the line to the

RE: [PHP-DB] Cannot connect to MySQL using

2006-03-29 Thread Nur_Adman
Dear All, I found the way. I opened file --> C:\WINNT\system32\drivers\etc\hosts Then change : 127.0.0.1 localhost become : 157.47.115.180 [my_server_name] Then my problem solved. Thanks & Regards, Anita

Re: [PHP-DB] Cannot connect to MySQL using

2006-03-29 Thread Balazs Hegedus
Hi, did you try to grant the IP address? I mean: grant x,y,z on db_name.{table_name|*} to [EMAIL PROTECTED] identified by 'password'; Hope it helps, cheers, Balazs -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP-DB] Cannot connect to MySQL using

2006-03-29 Thread Nur_Adman
M To: Adman, Nur anita; php-db@lists.php.net Subject: RE: [PHP-DB] Cannot connect to MySQL using It looks right on the function use, but you may want to check the installation of the mySQL service to ensure you have the right setup. There is normally always a password on root. Also, I wou

Re: [PHP-DB] Cannot connect to MySQL using

2006-03-29 Thread Chris
Warning: mysql_connect() [function.mysql-connect ]: Host '157.47.115.180' is not allowed to connect to this MySQL server in c:\wamp\www\CMS\forecast\includes\db_connection.php on line 10 Error !! Unable to connect to database What s

RE: [PHP-DB] Cannot connect to MySQL using

2006-03-29 Thread Ralph Brickley
ED] Sent: Wednesday, March 29, 2006 2:31 PM To: php-db@lists.php.net Subject: [PHP-DB] Cannot connect to MySQL using Dear All, I need some help. I`m trying to connect to MySQL using these script : But if I changed the Hostname with the Server Name/IP Address (not using localhost

[PHP-DB] Cannot connect to MySQL using

2006-03-29 Thread Nur_Adman
Dear All, I need some help. I`m trying to connect to MySQL using these script : But if I changed the Hostname with the Server Name/IP Address (not using localhost), the error message become : Warning: mysql_connect() [function.mysql-connect