I have created a database on AWS using MySQL. It is Publicly Accessible, but when I try to connect to it using the DBI package in R. I get this error message. The master username is 'jman88' on AWS. If you need certain data fields please let me know and I will post (I am new to creating databases so I am not to sure which information would be useful to help you solve it). Thank you!
Here is the code I currently have followed by the error message. con =
library(DBI)
library(RMySQL)
dbConnect(MySQL(),
dbname = 'test1db',
host = '*******',
user = 'jman88',
password = '*******',
port = 3306
)
Error in .local(drv, ...) :
Failed to connect to database: Error: Access denied for user
'jman88'@'***********' (using password: YES)