wordpress创建数据库
创建数据库Wordpress和用户名wp,口令为Wordpress666,并授予该用户对该库的所有权限
create database Wordpress; create user 'wp'@'localhost' identified by 'Wordpress666'; grant all on Wordpress.* to wp@'localhost';
不使用明文口令的使用哈希值
select password('wordpress666'); create user 'wp'@'localhost' identified by password '*5D27E9D2CC31A41DA2A69A0AC8F11797861C134E';
删除数据库和用户
drop database Wordpress; drop user wp@localhost;
MU5735 R.I.P