1.进入mysqlmysql -hlocalhost -root -p2.创建数据库"XXXX"create database XXXX;3.导入XXXX.sql文件[root@localhost bin]# mysql -u root -p icp_hn </路径/XXXX.sql;