Create DB for Rails application

Create DB for Rails application

Connect to DB

mysql -u root -p

Create DB and User

create database test_development default character set utf8 collate utf8_unicode_ci;
grant all on test_development.* to 'test'@'localhost';
set password for 'test'@'localhost' = password('testpassword');

GRANT permission for users