Advertisement
Guest User

Untitled

a guest
Feb 2nd, 2018
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.60 KB | None | 0 0
  1.  
  2. @echo off
  3.  
  4. set MYSQLHOST=127.0.0.1
  5. :: Database Table Name (default is dm1)
  6. set mysqlschema=test2
  7.  
  8. :: Username to access the database
  9. set mysqlpassword=test2
  10.  
  11. :: Password to access the database
  12. set mysqluser=test2
  13.  
  14. :: Path to mysql.exe file (default)
  15. set mysqlpath=C:\xampp\mysql\bin\
  16.  
  17. :: Path to cleanup script file (the file with all of the cleanup code in it)
  18. set mysqlcleanup="D:\DZE_Server_Config\BattlEye\Bec\AUTORESTART_FILES\SQL\cleanup_1.sql"
  19.  
  20. "%mysqlpath%\mysql.exe" -h %MYSQLHOST% --user=%mysqluser% --password=%mysqlpassword% --database=%mysqlschema% < %mysqlcleanup%
  21. ::PAUSE
  22. exit
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement