4、数据库密码 修改为 123456 (直接宝塔操作)
mysql -u root -p123456
GRANT ALL PRIVILEGES ON *.* TO 'root'@'127.0.0.1' IDENTIFIED BY '123456' WITH GRANT OPTION;
FLUSH PRIVILEGES;
GRANT ALL PRIVILEGES ON *.* TO 'root'@'localhost' IDENTIFIED BY '123456' WITH GRANT OPTION;
FLUSH PRIVILEGES;
grant all privileges on *.* to 'root'@'%' identified by '123456';
quit
导入数据库 cd /data ./sk
8、启动服务端:
cd /data/zone/fswy_local_center_9999/
./ctl.sh start
cd /data/zone/fswy_local_center_9000/
./ctl.sh start
cd /data/zone/fswy_local_2/
./ctl.sh start
cd /data/zone/fswy_local_1/
./ctl.sh start
停止
cd /data/zone/fswy_local_center_9999/
./ctl.sh stop
cd /data/zone/fswy_local_center_9000/
./ctl.sh stop
cd /data/zone/fswy_local_2/
./ctl.sh stop
cd /data/zone/fswy_local_1/
./ctl.sh stop