Database Administrators Stack Exchange is a question and answer site for database professionals who wish to improve their database skills and learn from others in the community. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Can anyone think of a reason why a mySQL database would be accessible from one tool (phpMyAdmin, logged in as db_user) but not from another (Sequel Pro, logged in as db_user).

The user is the same in each case and has full rights on the database in question.

In the case that I can't see it, I can access all other databases I would expect to and there are no obvious errors being returned.

The only thing that separates the tools is that phpMyAdmin is running on the same machine as MySQL so uses localhost whereas Sequel Pro uses the domain name.

share|improve this question
Can you connect remote to the server with the domain name via comand line? If this is not working, you might have an network error or are refusing non-localhost connections. – DrColossos Apr 20 '11 at 9:15
up vote 5 down vote accepted

You will need to grant access on a user@hostname basis, not just the user alone. So you will have to grant access to 'sequel_pro'@'your_domain_name' to database_name.*. Click here for a sample script.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.