Create MySQL Dbase and user November 17, 2015January 26, 2006 - 1 minute read. Just adding this here so I wont have to search for it or ask anyone ever again. create database db_name; grant all privileges on db_name.* to ‘user’@’localhost’ identified by ‘password’; Share this post: Share on Twitter Share on Facebook Share on Reddit Share on LinkedIn Share on Email