Pass the whole mysql database provider to mysql2