create database foo_db;
create user foo_user identified by ‘foo_password‘;
grant all on foo_db.* to ‘foo_user‘@‘%‘;
flush privileges;
时间: 2024-12-28 08:18:36
create database foo_db;
create user foo_user identified by ‘foo_password‘;
grant all on foo_db.* to ‘foo_user‘@‘%‘;
flush privileges;