Create new MySQL DB

#!/bin/bash
 
mysql -u root -p 
create database DB_NAME;
CREATE USER DB_USER IDENTIFIED BY 'USER_PASS';
grant all on DB_NAME.* to 'DB_USER'@'%' identified by "USER_PASS";
commit;
quit;

Do you like this page? Then support it. Please click the AD below and visit the sponsor. Thank you!