I do have access to MySQL but I don't think this is where I need to tune any properties - I'm interested in setting a timeout value within Perl itself, such that if it has not managed to connect to the MySQL server after X seconds it attempts the backup MySQL server instead.