simplify mysql user creation flow

if dbuser exists try a different one, owncloud/core#108

changed outdated comment

corrected length calculation

changed indentation for else clauses
Merge pull request #11102 from owncloud/visit1985-issue_108

mysql setup: if dbuser exists try a different one (owncloud/core#108)