CREATE database userdb ; CREATE USER 'user'@'%' IDENTIFIED BY 'psdpsd'; grant all privileges on userdb.* to 'user'@'%'