You are here: Re: mysql_connect() « PHP Programming Language « IT news, forums, messages
Re: mysql_connect()

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.

 

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

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