MySQL Forums
Forum List  »  PHP

Re: Can see Databases can't see tables
Posted by: Barry Galbraith
Date: December 14, 2013 04:51AM

Make sure you are logged in as the user you think you are.

SELECT user();  -- the user/host supplied by the client
SELECT current_user();  -- the user / host authenticated by mysql

As PB says, you may have multiple rows in mysql user table for the user, but with different host name, each with different privileges.

Check what you are getting.

Good luck,
Barry.

Options: ReplyQuote


Subject
Written By
Posted
Re: Can see Databases can't see tables
December 14, 2013 04:51AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.