拉开拉链mysql紧凑根文件夹
cmd
cd mysql bin 文件夹
mysqld install mysql
net start mysql
------------------
用户zs 库zsk passwordzsp
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;
注意ini配置文件的内容
basedir = D:mysql-5.6.17-winx64
datadir = D:mysql-5.6.17-winx64
port = 3306
server_id = mssql
default-character-set=utf8
cmd
cd mysql bin 文件夹
mysqld install mysql
net start mysql
------------------
用户zs 库zsk passwordzsp
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 password
版权声明:本文博客原创文章,博客,未经同意,不得转载。