You are here: Re: Please Help! Can't connect to remote MySQL server using PHP « PHP Programming Language « IT news, forums, messages
Re: Please Help! Can't connect to remote MySQL server using PHP

Posted by Alan Little on 11/04/47 11:48

Carved in mystic runes upon the very living rock, the last words of
<courtney.machi@gmail.com> of comp.lang.php make plain:

> I am trying to connect to a remote mysql server through php.
>
> Using the mysql prompt on the remote server, the mysql -h -u -p works
> just fine with the parameters i've specified here. According to the
> user table I have the proper permissions.

1) What does mysql_error() say?

2) Is your database configured to allow remote connections?

--
Alan Little
Phorm PHP Form Processor
http://www.phorm.com/

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация