If I want to set my password on mysql with this command:
ExecWait '"$INSTDIR\MySQL\bin\mysql" -u "root" -p " " SET PASSWORD = PASSWORD('newpass')'
I get an error.
What's wrong?
set password error
4 posts
PASSWORD('newpass')'
you're using '''''''' 🙂
try:
ExecWait `"$INSTDIR\MySQL\bin\mysql" -u "root" -p " " SET PASSWORD = PASSWORD('newpass')`
i changed the quotation marks.
you're using '''''''' 🙂
try:
ExecWait `"$INSTDIR\MySQL\bin\mysql" -u "root" -p " " SET PASSWORD = PASSWORD('newpass')`
i changed the quotation marks.
Thanks you for the reply,
I use your command, but now I can compile. But It still doesn't change the password.
I use your command, but now I can compile. But It still doesn't change the password.
then the sql syntax is wrong or something else's not working.