dolibarr/build/exe/doliwamp/mysqltestinstall.bat.install
2024-09-06 20:28:06 +08:00

25 lines
881 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 will 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\mariadb\mariadbWAMPMYSQLVERSION\bin\mysql -P WAMPMYSQLPORT -u root -p%SAVES%
pause