Doubled hostname

Gives [SQL]: Unknown MySQL server host 'MY_HOSTNAME' (0) error due to longer hostname