Take the 2-minute tour ×
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.

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

1 Answer

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

Your Answer

 
discard

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.