Changing the MySQL config to use an invalid server name as default. If it is not changed, the connection attempt will not be made.
This should make the annoying errors shut the hell up.