Reply to Re: mysql_connect()

Your name:

Reply:


Posted by JDS on 10/11/03 11:53

On Thu, 20 Jul 2006 05:23:54 -0700, Pankaj wrote:

> What could be wrong ? Is it some permission issue ?

Yes, certainly. MySQL user accounts are tied to a host. That is to say,
each username also has a hstname part. So you wwill have to add a user
account along the lines of

GRANT INSERT, UPDATE (etc. etc.) ON dbname.* TO 'username'@'%'

'%' means "Can connect from any host"

You probably currently only have a username like 'username'@'localhost'

--
JDS

[Back to original 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

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