创建并导入数据库(这个要等宝塔安装完mysql才可以操作慢慢等)
mysql -uroot -pwwwtaocc
GRANT ALL PRIVILEGES ON *.* TO 'hoolai'@'127.0.0.1' IDENTIFIED BY 'hoolai' WITH GRANT OPTION;
GRANT ALL PRIVILEGES ON *.* TO 'hoolai'@'localhost' IDENTIFIED BY 'hoolai' WITH GRANT OPTION;
create database account;
create database account1;
create database admin_xmj;
create database battle_test;
create database extgame;
create database log_xmj;
create database login_test;
create database lvse_battle1;
create database pay_test;
create database session9999;
use account1;
set names utf8;
source /tao/sql/account1.sql;
source /tao/sql/account2.sql;
use admin_xmj;
set names utf8;
source /tao/sql/admin_xmj.sql;
use login_test;
set names utf8;
source /tao/sql/login_test.sql;
use lvse_battle1;
set names utf8;
source /tao/sql/lvse_battle1.sql;
use pay_test;
set names utf8;
source /tao/sql/pay_test.sql;
use battle_test;
set names utf8;
source /tao/sql/battle_test.sql;
use extgame;
set names utf8;
source /tao/sql/extgame.sql;
use log_xmj;
set names utf8;
source /tao/sql/log_xmj.sql;
use session9999;
set names utf8;
source /tao/sql/session9999.sql;
use account;
set names utf8;
source /tao/sql/account.sql;
flush privileges;