disable SSLv2 and v3 for better security
if tablename is null, table_exists now returns true if any tables are found