Have you checked the docs? Have you double-checked the username, password
and permissions?
Have you added " or die(mysql_error())" to your database connection function?
If this site is remote, does your username/password have rights to access
the database?
Good luck - Miles Thompson
At 11:58 A
I can't select a database from a php script.
I've set privileges in both the user and the data base tables
and I've done FLUSH PRIVILEGES;
WHY?
JOSEP.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED
I've did:
FLUSH PRIVILEGES
but nothing changes.
Josep.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
> 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?
Did you 'flush privileges' ?
--
Jon Farmer
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?
Josep
--
PHP General Mailing List (http://www.php.n
5 matches
Mail list logo