Posted by Daniel Tryba on 06/08/05 18:05
Andrew Clark <nospam@nospam.com> wrote:
> I am having trouble connecting to my server with mysql_connect(). I can
> connect via the command line on the server and with phpMyAdmin over our
> network, but not though mysql_connect(). This is my script:
Both these methods connect to "localhost". Your script suggests remote
access, this will not work since in many cases networking is disabled by
default (Good Thing(tm)). So read the mysql documentation and make sure
it's accepting remote network connections.
[Back to original message]
|