One of three issues:
1 - the db is not set up correctly;
2 - the user is not set up correctly;
3 - the PHP script is not calling the db properly - this could be due to 
wrong syntax, misnaming of the db table, or incorrect username parameters.

You would need to post some more info, in particular the script.  I would 
start at 1 at this point - have you set up the db on your webserver according 
to the instructions that came with the guestbook script?

Kevin

On Monday 10 December 2001 09:07, josep wrote:
>  I get:
>
>  unable to select database
>
>  when I visit my guestbook.php
>
>  The user trying it is set in the mysql.user (without any perms) and in the
>  mysql.db (with all perms).
>
> Do I have to set all perms to this user in the mysql.user table?

---------------------------------------------------------------------
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