At 17.12.2001 17:50, A. Bacon wrote:
>Help?  I cannot get access to anything in mysql through my php scripts.
>I have a good connection (with a user and password set up by inserting
>into the user db) and can work with mysql from dos with no problem, but
>when I issue any command to mysql through php, I get an 'access denied
>for 'tonloc@localhost' for database 'whatever'...

Have you made a user by that name who i supposed to have access to the DB 
in question?
Use root@localhost (the default user) if you do not know how to make your 
own user (this is of course a huge security issue, so you should relly 
start reading those MySQL manuals ;)

Regards
- Tommy


- --- -- -- -.--   ..-. .. -. ... . -.
Tommy Finsen
Redaktør, Webmaster, Hostmaster, Postmaster
http://www.laiv.org
Mail: mailto:[EMAIL PROTECTED] | ICQ: 908297
Cell +47 90531602 | Work +47 23062856 | Fax +47 23062801
- "Careful. We don't want to learn from this." - Calvin



---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to