Fix last commit (mysql_version() doesn't work if connection is not yet established)