Dear All,

What's wrong?
> library(DBI);
> library(RMySQL);
> mgr<-dbDriver("MySQL");
> con<-dbConnect(mgr,dbname="test");
Error in mysqlNewConnection(drv, ...) : RS-DBI driver: (could not connect 
(null)@(null) on dbname "test")

I also tried another example

> library(RMySQL);
> mycon<-dbConnect(MySQL
(),user='cws',dbname="cws",host="pi",password='delores');
Error in mysqlNewConnection(drv, ...) : RS-DBI driver: (could not connect 
[EMAIL PROTECTED] on dbname "cws")

I am running    R 2.1.1     DBI 0.1-9   RMySQL  0.5-6     Windows  XP

Thank you much for your help.

Qing Jing   PhD  MD

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to