yossarian
3/14/2018 - 1:02 PM

MySQL create user and grant permissions on database

grant usage on *.* to dbuser@localhost identified by 'passwd';
grant all privileges on dbname.* to dbuser@localhost ;