一、导入数据库

1. 登录MySQL

mysql -u root -p

 2. 进入数据库

mysql>use test;

3. 使用source命令,执行.sql脚本

mysql>source /root/test.sql;

 

相关文章:

  • 2022-01-11
  • 2021-12-10
  • 2019-11-19
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-05
  • 2021-12-07
猜你喜欢
  • 2021-12-01
  • 2022-02-12
  • 2021-03-30
  • 2021-12-04
  • 2022-03-03
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案