Set root password MySQL, error 1133

Answered

Comments

2 comments

  • Avatar
    mrinco

    Yes it's true, the first command succeeded ('root'@'127.0.0.1'), It don't work because the ${machine_hostname} variable add a suffix dns (.local) after the hostame... so i need to set up a variable without the suffix ... How can i do that?

  • Avatar
    mrinco

    Ok i found a solution!

    <setInstallerVariableFromScriptOutput>
        <exec>cat</exec>
        <execArgs>/etc/hostname</execArgs>
        <name>host</name>
    </setInstallerVariableFromScriptOutput>
    

Please sign in to leave a comment.