-- 设置密码安全等级
set global validate_password_policy=0;
-- 创建库
Create DATABASE IF NOT EXISTS `todev_dev` default charset utf8 COLLATE utf8_general_ci;
-- 设置 todev_dev 访问密钥
-- create user `todev_dev` identified by '111111';
-- grant all privileges on `todev_dev`.* to `todev_dev`@`%` identified by '111111';
ALTER USER 'todev_dev'@'%' IDENTIFIED BY '111111';
|