For Programmers: Free Programming Magazines  


Home > Archive > PHP DB > March 2006 > Re: [PHP-DB] Cannot connect to MySQL using









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

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

2006-03-29, 6:57 pm


> Warning: mysql_connect() [function.mysql-connect
> <http://tu-lip-nt4/CMS/forecast/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_con
nection.php on line 10
> Error !! Unable to connect to database
>
>
>
>
>
> What should I do?


Read the error message, it tells you all you need to know.


Your host (157.47.115.180) is not allowed to connect to that mysql server.


Mysql isn't configured to allow connections using the ip.

http://dev.mysql.com/doc/refman/5.1...ege-system.html

Is a good place to start.

--
Postgresql & php tutorials
http://www.designmagick.com/
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com