Files
dolibarr/build/exe/doliwamp/mysqltestinstall.bat.install
2011-08-27 19:15:14 +00:00

25 lines
876 B
Plaintext

@echo off
REM ------------------------------------------------------------
REM Launch a test to connect to mysql
REM ------------------------------------------------------------
REM To change password, run following SQL command:
REM GRANT ALL ON *.* TO login@localhost IDENTIFIED BY "newpassword"
echo -----------------------------------------------------------
echo This programm wil test a login on Mysql installed
echo by DoliWamp.
echo Version: WAMPMYSQLVERSION
echo Port: WAMPMYSQLPORT
echo -----------------------------------------------------------
echo If login is successull, type "quit" and enter twice to exit.
echo ------------------------------------------------------------
SET SAVES=
SET /P SAVES=Enter password to test:
echo Try to connect to mysql with this password
.\bin\mysql\mysqlWAMPMYSQLVERSION\bin\mysql -P WAMPMYSQLPORT -u root -p%SAVES%
pause