simplify mysql user creation flow
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

andreas-p/nextcloud-server,lrytz/core,IljaN/core,andreas-p/nextcloud-server,pmattern/server,xx621998xx/server,whitekiba/server,michaelletzgus/nextcloud-server,owncloud/core,endsguy/server,IljaN/core,xx621998xx/server,Ardinis/server,Ardinis/server,bluelml/core,owncloud/core,bluelml/core,owncloud/core,pixelipo/server,xx621998xx/server,michaelletzgus/nextcloud-server,cernbox/core,lrytz/core,owncloud/core,michaelletzgus/nextcloud-server,andreas-p/nextcloud-server,pmattern/server,jbicha/server,whitekiba/server,pollopolea/core,sharidas/core,Ardinis/server,pixelipo/server,pmattern/server,bluelml/core,whitekiba/server,endsguy/server,pollopolea/core,bluelml/core,nextcloud/server,lrytz/core,phil-davis/core,bluelml/core,xx621998xx/server,pixelipo/server,endsguy/server,lrytz/core,sharidas/core,cernbox/core,pixelipo/server,lrytz/core,jbicha/server,sharidas/core,pollopolea/core,whitekiba/server,Ardinis/server,andreas-p/nextcloud-server,IljaN/core,whitekiba/server,pixelipo/server,cernbox/core,cernbox/core,endsguy/server,jbicha/server,michaelletzgus/nextcloud-server,sharidas/core,endsguy/server,pollopolea/core,andreas-p/nextcloud-server,xx621998xx/server,sharidas/core,nextcloud/server,jbicha/server,cernbox/core,Ardinis/server,owncloud/core,jbicha/server,IljaN/core,nextcloud/server,pmattern/server,nextcloud/server,pollopolea/core,IljaN/core,pmattern/server