Skip to content

Instantly share code, notes, and snippets.

@felixlindemann
Created August 26, 2013 15:52
Show Gist options
  • Save felixlindemann/6343020 to your computer and use it in GitHub Desktop.
Save felixlindemann/6343020 to your computer and use it in GitHub Desktop.
Connect to database with RMySQL
library(RMySQL)
dbhost<-"192.168.0.104"
dbsuer<-"windowsparallels"
dbpass<-""
dbcatalog<-"db"
con <-dbConnect(MySQL(),
host=dbhost,
port= 3306,
user=dbsuer,
password = dbpass,
dbname=dbcatalog)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment