You are here: Re: mysql « PHP SQL « IT news, forums, messages
Re: mysql

Posted by Steve on 10/26/05 14:12

> $user="username";
> $password="password";
> $database="database";

> mysql_connect(localhost,$user,$password);

I expect you meant to type "localhost" in quotes (but the error
messages imply that there's some other problem.)

What version of MySQL are you using, and on what operating system? Did
you install it, and did you follow the installation instructions on
setting up an initial account name and password?

See here for instance:
<http://dev.mysql.com/doc/refman/4.1/en/default-privileges.html>

---
Steve

 

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

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