@echo off
rem test.sql文件
for %%i in (test.sql) do (
   echo excute %%i
   mysql -u用户名 -p密码 -D数据库名 < %%i
)
echo success
pause

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-12-22
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-28
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-01-22
  • 2021-12-22
  • 2022-12-23
  • 2021-05-19
  • 2022-12-23
相关资源
相似解决方案