拷贝ini文件至解压目录,注意ini文件内容配置
cmd
cd mysql bin 目录
mysqld install mysql
net start mysql
------------------
用户zs 库zsk 密码zsp
mysql -uroot -p
create database zsk;
grant all privileges on zsk.* to zs@localhost identified by zsp;
flush privileges;
exit
mysql -uzs -p
use zsk;
source xxx.sql;
grant all privileges on 哪个库.什么权限 用户@登录IP identified by 密码