Nick Raptis committed 5e45434 Draft

Add some scripts for convenience in the lab

  • Participants
  • Parent commits 1ff5a21

Comments (0)

Files changed (4)

File xampp/mysql.bat

+@echo off
+mysql\bin\mysql.exe -h localhost -u root --default-character-set=utf8

File xampp/mysql_start2.bat

+@echo off
+echo Diese Eingabeforderung nicht waehrend des Running beenden
+echo Please dont close Window while MySQL is running
+echo MySQL is trying to start
+echo Please wait  ...
+echo MySQL is starting with mysql\bin\my.ini (console)
+start mysql\bin\mysqld --defaults-file=mysql\bin\my.ini --standalone --character-set-server=utf8 --collation-server=utf8_general_ci
+rem --console
+if errorlevel 1 goto error
+goto finish
+echo MySQL konnte nicht gestartet werden
+echo MySQL could not be started

File xampp/mysql_stop2.bat

+@echo off
+echo Mysql shutdowm ...
+apache\bin\pv -f -k mysqld.exe -q
+if not exist mysql\data\ GOTO exit
+echo Delete ...
+del mysql\data\

File xampp/mysqldump.bat

+@echo off
+mysql\bin\mysqldump.exe -u root --default-character-set=utf8 --databases tainies_1550 > \tainies.sql