Re: [R] Basic questions about RMySQL

From: bogdan romocea <br44114_at_yahoo.com>
Date: Sat 19 Mar 2005 - 06:10:37 EST


I certainly can't; I initially misunderstood the question.

If connecting to MySQL is the problem, then you need to know the user ID, the domain and the password. Ask your DB administrator for help.

Here's an example that works for me (local MySQL installation): require(DBI)
require(RMySQL)
MySQL(max.con = 16, fetch.default.rec = 5000, force.reload = F) drv <- dbDriver("MySQL")
con <- dbConnect(drv,username="userid",password="pswd",dbname="db") dbListTables(con)


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 Received on Sat Mar 19 06:14:44 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:30:51 EST