set db connection to mysql2(madriadb).