Connect to database with RMySQL