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. It's 100% free, no registration required.

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

I use phpMyAdmin powered by Mamp (free version) to manage Mysql databases.

I need to know how to grant a user permission to create databases.

share|improve this question
up vote 1 down vote accepted

Try this command

GRANT CREATE ON *.* TO 'user'@'host';

For further information, please see MySQL Documentation on GRANT syntax

share|improve this answer
should I run this in the terminal ? – chefnelone May 26 '12 at 11:50

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.