repair MySQL script to set root user without happening error