MySQL建立數據庫及用戶

create database ${db_name} default charset utf8 COLLATE utf8_general_ci;
grant all on ${db_name}.* to '${user_name}'@'localhost' IDENTIFIED BY '${password}';
flush privileges;ci

相關文章
相關標籤/搜索