Skip to content
⌘ NSIS Forum Archive

set password error

4 posts

tulp#

set password error

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?
Comm@nder21#
PASSWORD('newpass')'

you're using '''''''' 🙂

try:
ExecWait `"$INSTDIR\MySQL\bin\mysql" -u "root" -p " " SET PASSWORD = PASSWORD('newpass')`

i changed the quotation marks.
tulp#
Thanks you for the reply,
I use your command, but now I can compile. But It still doesn't change the password.