You are here: Re: Useronline code does not work ?? any ideas « PHP Language « IT news, forums, messages
Re: Useronline code does not work ?? any ideas

Posted by macbri on 08/22/05 16:32

Hilarion Wrote:
> > Why would this error come up
> >
> > >insert command denied to user: 'user@localhost' for table
> 'useronline'
> >
> > I am trying to access my server from a remote computer, so why would
> I
> > get user@localhost localhost ??? surely I would have got
> user@mydomain
> > or whatever mydomain is ??
>
>
> I do not know (I do not use MySQL).
> Maybe it's all about user on the server system (which is localhost
> for the MySQL server) which is used to access the MySQL (not the
> MySQL login). Or maybe the MySQL login you are using is
> user@localhost.
>
> You may want to ask this question on "alt.php.sql".
>
>
> Hilarion

Hilarion is correct. The Apache server running PHP is what's accessing
(or trying to at any rate) the MySQL server on the same system. In
other words, your remote computer connects to the web server which in
turn connects to the database. Hence the "user@localhost"....


--
macbri
------------------------------------------------------------------------
macbri's Profile: http://www.macosx.com/forums/member.php?userid=34415
View this thread: http://www.macosx.com/forums/showthread.php?t=240299
macosx.com - The Answer to Mac Support - http://www.macosx.com

 

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

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