1、mysql导出
ysqldump -u root -p BackManagerment > myback.sql
2、mysql导入
sudo mysql -u root
//显示所有数据库
show databases;
//创建数据库设置utf8
create database DeveloperTools default character set utf8;
//导入数据库
source my back.sql
1、mysql导出
ysqldump -u root -p BackManagerment > myback.sql
2、mysql导入
sudo mysql -u root
//显示所有数据库
show databases;
//创建数据库设置utf8
create database DeveloperTools default character set utf8;
//导入数据库
source my back.sql