解压mysql压缩版至某根目录

注意ini文件内容配置

basedir = D:\mysql-5.6.17-winx64
datadir = D:\mysql-5.6.17-winx64
port = 3306
server_id =

default-character-set=utf8

cmd
cd bin 目录
mysqld install mysql
net start mysql
------------------

用户zs 库zsk 密码zsp
mysql -uroot -p
create database zsk;
grant all privileges on zsk.* to [email protected] identified by zsp;
flush privileges;
exit

mysql -uzs -p
use zsk;

source xxx.sql;

grant all privileges on 哪个库.什么权限 [email protected] identified by 密码