check for FQDN before creating db, etc.

Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
finally output a nice error-message on mysql-errors

Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>