[R] dbConnect

Christiane Reuter
Fri, 15 Aug 2008 14:20:57 -0000

Hi everybody,

I'm having a problem with connecting to my MySQL database.
Each time I try to connect

library(RMySQL)
m <- dbDriver("MySQL")
con <- dbConnect (m,
host="my_host",username="my_username",
password="my_password", dbname="name_of_db")

it says

Fehler in mysqlNewConnection(drv, ...) :
   RS-DBI driver: (could not connect my_host on dbname "name_of_db"
Error:Can't connect to MySQL server on 'my_host' (60)

I access the database via https. Might this be the problem?
(I have an other database that I access via http where I have no
probelems at all...)
And if so, is there anyone who knows what I need to do to overcome
that problem?

Thank you so much!

-Christiane
	[[alternative HTML version deleted]]