Skip to content

Instantly share code, notes, and snippets.

@jonahlyn
Last active March 19, 2020 14:14
Show Gist options
  • Save jonahlyn/46089f11144d907968fd to your computer and use it in GitHub Desktop.
Save jonahlyn/46089f11144d907968fd to your computer and use it in GitHub Desktop.
Connect to a mysql database in an R script #mysql #r
library("RMySQL")
conn <- dbConnect(MySQL(), user="jonahlyn", password="xxxxxxx", dbname="jonahlyndb", host="localhost")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment