1.mysql -u root -p 2.create database huago_production_tool; 3.create user 'huago'@'%' identified by 'huago'; 4.grant all privileges on huago_production_tool.* to 'huago'@'%'; 5.use huago_production_tool; 6.create table user_list (user varchar(20) not null primary key, password text, connect_id int, take_user text); 7.insert into user_list (user, password) values ('root', password('123456')); 8.create table root_config (config_key varchar(40) not null primary key, config_value text);