1,创建用户及密码: CREATE USER 'user'@'%' IDENTIFIED BY 'password'; 2,创建数据库: create database PDB_chengang default character set utf8 collate utf8_general_ci; 3,分配权限: GRANT ALL ON PDB_chengang.* TO 'user'@'%'; 4,使配置即时生效: flush privileges; 5,按条件检索: ; 6,更新一条数据库…