I am getting the following error when I try to connect to a MySQL database using RMySQL package. I am trying to connect to a host and not my local system. The previous discussion posted with this link is on a local host
Failed to connect to database: Error: Access denied for user 'user'@'IP' (using password: YES)*
IP* The full IP Address is displayed
I wrote the following statement in R
mydb = dbConnect(dbDriver('MySQL'), user='user', password='password', dbname='db-name', host='host name',port=Port #)
I am able to connect to the server using MYSQL bench using the same credential on my local system.
Any Idea what I might be missing here?