moved DB creation before script execution
removed password to root from mysql config