Displaying 20 results from an estimated 10000 matches similar to: "R MySQL Configuration"
2005 Jan 29
2
Database Connection Problem with RMySQL package
Folks,
I failed to create a connection to the database under MySQL DBMS in
the R system via RMySQL's method dbConnection(...).
My setup is as follows:
Microsoft Windows XP 5.1.2600
MySQL 4.1.9
R 2.0.1
DBI 0.1-8
RMySQL 0.5-5
Both of DBI and RMySQL packages were downloaded from bell lab:
http://stat.bell-labs.com/RS-DBI/download/index.html
My case in R is as follows:
> library(DBI)
2005 Oct 18
1
RMySQL problems
I get the following error trying to connect to a MySQL database:
> library(RMySQL)
Loading required package: DBI
> drv<-dbDriver("MySQL")
> con<-dbConnect(drv, user="hothand", password=xxx,
host="localhost", dbname="hh03");
Error in mysqlNewConnection(drv, ...) : RS-DBI driver: (could not
connect hothand at localhost on dbname
2008 Aug 15
1
dbConnect
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
2003 May 13
2
RMySQL crashes R
I have justed upgraded R v1.7.0 on Windows NT 4 and have installed the
latest RMySQL (version 0.5-1)and DBI (version 0.1-5) packages.
When I issue the following commands (tactfully adjusted) R just crashes and
disappears, any ideas?
require(RMySQL)
m <- dbDriver("MySQL")
con <- dbConnect(m, dbname="xxx", user="xxx", password="xxx",
2011 Jan 17
2
Accessing MySQL Database in R
I have a local installation of MySQL on my computer.
I enter the following to access MySQL from the command line:
/Applications/MAMP/Library/bin/mysql -h localhost -u root -p
I am then prompted for a password, and I use: root
This connects me to MySQL in the command line.
I now want to access MySQL databases in R. I enter the following:
mysql <- dbDriver("MySQL")
conn <-
2005 Feb 05
1
Compressed communication with DB using RMySQL?
Dear All,
I have a setup where R pulls entries from a MySQL db server. I wanted
to know whether the R interface can pull encrypted / compressed data
from MySQLD. MySQL supports compressed communication on the server
side, but I couldn't find any references to such options on the client
(RMySQL) side.
Best,
Uri Hasson.
---
Uri Hasson.
Brain Research Imaging Center
The University of Chicago.
2010 Jan 26
1
[Fwd: Re: question on sqldf syntax]
Sorry mistake from me. This was another problem in my mind , but with
RMySQL.
Christian
> library(RMySQL)
> library(sqldf)
> sqldf("Select * from mtcars")
Fehler in mysqlNewConnection(drv, ...) :
RS-DBI driver: (Failed to connect to database: Error: Access denied
for user 'user'@'localhost' (using password: NO)
)
Fehler in if (dbname ==
2009 Jan 19
1
[Win] Hangup RGui with RMySQL (PR#13453)
Full_Name: Apfel Schmied
Version: 2.8.1 (2008-12-22)
OS: WinXP SP2
Submission from: (NULL) (134.106.122.139)
RMySQL Version: 0.7-2
DBI Version: 0.2-4
MySQL Version: 5.1.30 (Enviroment Variable MYSQL_HOME is set)
Updated R from 2.60 to 2.8.1. Now Gui.exe hangs up (100% CPU Useage) when
requesting data from a mysql database.
Example Code:
2009 Jan 23
0
RMySQL Fail to connect on update to R 2.8.1
Hi,
I had my R to MySQL 5.0 connection working fine under 2.5.1 on Windows
XP. My MySQL installation is local, not on a server and I could connect
with:
con <- dbConnect(MySQL(), dbname = "mydatabase", user="root", password="XX")
I have updated to R 2.8.1 (RMySQL 0.7-2) but that same line of code yields:
Error in mysqlNewConnection(drv, ...) :
RS-DBI driver:
2006 Oct 16
3
Install RMySQL with R 2.4.0
I just installed RMySQL 0.5-9 with R 2.4.0 on Windows XP and got the
following error message when trying to run a script with RMySQL:
Error in library(RMySQL) : 'RMySQL' is not a valid package -- installed
< 2.0.0?
Any ideas?
Thanks,
Frank
2007 Mar 20
1
RMySQL load error
I'm having trouble getting RMySQL to load. I was able to build it and install
it (RMySQL_0.5-11.tar.gz). I was also able to build and install mysql-5.0.37.
I've read many postings about this but have not found a mention of my
particular problem (some closely related). I get the "unable to load shared
library, no such file" error, but all the files do exist, RMySQL.so and
2002 Sep 12
1
DBI / MySQL problems
Hi.
I frequently use RMySQL package to interface R with MySQL databases. I was
having a try with package DBI and I got the following error:
> library(RMySQL)
> library(DBI)
> drv <- dbDriver("MySQL")
> ch <- dbConnect(drv, dbname="mydb", user="myuser", password="mypasswd")
> ibm <- dbGetQuery(ch,"select * from table where
2005 Mar 09
1
RMySQL installed but not availalable
I don't use MySQL but I have seen messages like this before. They often have replies which indicate that you need to follow the instructions more closely. I suggest you search the list for these previous posts as I'm sure there is help there, somewhere!
Tom
> -----Original Message-----
> From: Adriano von Sydow [mailto:pdasilva at xtra.co.nz]
> Sent: Thursday, 10 March 2005 5:13
2008 Jul 30
1
Hello,
Hello,
A newbie to R. I am trying to use the exonmap package in R.
According to the docs, the xmapDatabase() command should read the
config file with all the connection parameters and connect to the DB.
But i get the error shown below....
> xmapDatabase("Human")
Error in mysqlNewConnection(dbDriver(drv), ...) :
RS-DBI driver: (could not connect cagadmin at mysql2.cag.chop.edu on
2003 Oct 15
5
Problems Building RMySQL in Windows
Hi all,
Unfortunately I must use winXP at my job, so I'm trying install
from source RMySQL. Here are some details about this problem:
- R 1.7.1
- RMySQL 0.5-2
- mysql 4.1.0-alpha-max-nt
I followed the instructions posted in
http://www.biostat.jhsph.edu/~kbroman/Rintro/Rwinpack.html
and the following messages appeared. BTW, thanks in advance for your
help and comments.
C:\Program
2009 Feb 23
0
Segmentation Fault still exists
Hi All,
Sorry to bother everyone again.Ofcourse Prof Ripley ,Yihui and Uwe had
replied to my email.But this segmentation fault error was not solved.I agree
with Prof Ripley,as he said my R and all other configurations,are very
old.But what i don't understand is ,i was able to run analysis till few days
before,and why suddenly this error.
*The configuartions i use:---*
*R-version
*
*>
2009 Nov 05
1
Error when adding package RMySQL (PR#14044)
Full_Name: K?re Jonsson
Version: 2.10
OS: WinXP
Submission from: (NULL) (85.225.178.169)
I made a brand new installation of R 2.10 in two machines and got the same
problem.
Machine 1 is Win XP on metal installation
machine 2 is virtual in VMWare running a hacky OS named Tiny XP in which any
Microsoft windows XP siftware always successfully is installed.
Operation 1. Add package RMySQL from
2013 May 16
1
connect to local mySQL database
Hi,
I would like to access a local mysql database.
In python using the sqlite3 library it is quite straightforward. I just have to pass the path to the sqlite-file;
sqlite3.connect('.../xy.sqlite')
Is there something similar in R (or specifically in the RMySQL package)?
It seems like I have to use the MySQL function in the RMySQL package in order to ...
"initializes a MySQL
2007 Aug 11
1
Connecting to database on statup
Hello,
Q/ Is it possible to create a DBMS connection automatically on startup of R? (Making sure of course that the db server has been started...)
I am running MySQL on Mac OS X 10.4.2 with R2.4.1.
I have tried to write a function using the RMySQL commands (below) and place them in .First of .RProfile:
drv <- dbDriver("MySQL")
dbcon <- dbConnect(drv, {other parameters present in
2009 Aug 07
1
RMySQL - overwrite record, not table
Hi, useR-
In RMySQL, how do I overwrite records? (equivalent to "replace" query).
For example, suppose that dat2 is a newer data.frame than dat1.
con <- dbConnect(MySQL())
res <- dbWriteTable(con, "DBname", dat1, row.names=F, append=T, replace=T)
res <- dbWriteTable(con, "DBname", dat2, row.names=F, append=T, replace=T)
This would not update/replace the