You are here: Re: php script to create mySQL database programmatically « PHP Programming Language « IT news, forums, messages
Re: php script to create mySQL database programmatically

Posted by Good Time Tribe on 10/31/06 14:50

> Warning: mysql_connect() [function.mysql-connect]: Can't connect to
> local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) in
> /web/www/domain/users/u/username/createdb.php on line 2
> Could not connect: Can't connect to local MySQL server through socket
> '/var/run/mysqld/mysqld.sock' (2)
>
> Ugly, very ugly..
>
> m.- Hide quoted text

That's actually a very helpful and friendly error message. It first
tells you why it failed. Then it tells you which machine is responsible
for the failure. Even further, it tells you what it expects that
machine to be responsible for. It tells you the full path to the
script. It also tells you the script's name and the line number of the
problem statemetns.

ppmd

 

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

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