CREATE DATABASE IF NOT EXISTS test; SET PASSWORD FOR 'root'@'localhost' = 'passwd';