search for: mysqlnewconnection

Displaying 20 results from an estimated 20 matches for "mysqlnewconnection".

2005 Jan 29
2
Database Connection Problem with RMySQL package
...tat.bell-labs.com/RS-DBI/download/index.html My case in R is as follows: > library(DBI) > library(RMySQL) > mgr <- dbDriver("MySQL") > con <- dbConnect(mgr, user="root", pass="*******", host="localhost", dbname="campus") Error in mysqlNewConnection(drv, ...) : RS-DBI driver: (could not connect root at localhost on dbname "campus") What am I doing wrong with?... It is really an annoying question. Thank you very much for your help and patience. Yours truly, Willie Y CHEN -- ************************************ Decisioneering Pty L...
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 dbname "NA" Error:Access denied for user 'cagadmin'@'cdev.cag.chop.edu' to database 'NA' ) when i connect to db using dbConnect() it works fine. conn<-dbConnect(drv=...
2008 Aug 15
1
dbConnect
...g 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 al...
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 == ":memory:") dbDisconnect(connection) else if (!dbPreExists && : Argument hat L?nge 0 > detach(&quot...
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 "hh03" ) This script worked a few days ago, and I haven't made any system changes since then. I can connect to mysql from php and the mysql console. I've also reinstalled the DBI and RMySQL package...
2009 Jan 23
0
RMySQL Fail to connect on update to R 2.8.1
...nder 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: (Failed to connect to database: Error: Access denied for user '? $5K??'@'localhost' (using password: YES) I have tried to follow the directions in the RMySQL.pdf whereby I created a file c:/my.cnf in which I have: [client] user = root host = localhost...
2009 Feb 18
1
Possible Cause of Segmentation Fault
...uot;new_regression.R") ", what I did was ,simply typed in the commands in R-prompt and the results were:---- > drv<-MySQL() > drv <MySQLDriver:(20645)> > dbConnect(drv, user="xyz", password="xyz",dbname =xyz_database, host = xyz.com) Error in mysqlNewConnection(drv, ...) : *object "xyz.com" not found* * * * * Thanks Moumita [[alternative HTML version deleted]]
2009 Jan 19
1
[Win] Hangup RGui with RMySQL (PR#13453)
...iroment 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: --------------------------------------------------------------- library(RMySQL) #ok drv = dbDriver("MySQL") # ok conn <- mysqlNewConnection(drv,"table","user","pass") #ok dbListTables(conn) #ok resu <- dbGetQuery(conn, "Select * From example WHERE id < 13") # HANG UP! Errorcode: --------------------------------------------------------------- RGui: Rgui.exe - Fehler in Anwendung: Die Anwei...
2007 Jul 18
1
R MySQL Configuration
...sful in getting recognition of my group definitions in this way (only works when the file is in C:\ ) Does anybody know if there are plans to implement the default.file option noted on page 17 of the same documentation (noted as "Currently unused")? If I set it now, I get "Error in mysqlNewConnection(drv, ...): unused argument(s) (default.file ...)" My goal is to eliminate plain text database passwords from my computer and at least put it on a secured network location, but I need to let RMySQL know how to find it. Thanks for your help. Regards, Mark
2011 Jan 17
2
Accessing MySQL Database in R
...t 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 <- dbConnect(mysql,user='root',host='localhost', password='root') I get the following error message: Error in mysqlNewConnection(drv, ...) : RS-DBI driver: (Failed to connect to database: Error: Access denied for user 'root'@'localhost' (using password: YES) Does anyone know why these aren't equivalent? -- View this message in context: http://r.789695.n4.nabble.com/Accessing-MySQL-Database-in-R-tp32212...
2009 May 16
1
Fwd: Cannot allocate a new database connection error
...t, May 16, 2009 at 2:26 PM Subject: Cannot allocate a new database connection error To: r-help-request@r-project.org Hi friends, why do i keep getting this error?The program runs, twice and every third time i get this error.I have to quit.Again get teh R-prompt and then run the script. *Error in mysqlNewConnection(drv, ...) : RS-DBI driver: (ì8@`qE@° ° cannot allocate a new connection -- maximum of 16 connections already opened) Error in is(object, Cl) : error in evaluating the argument 'conn' in selecting a method for function 'dbSendQuery' Error in is(object, Cl) : error in evaluating...
2009 Feb 23
0
Segmentation Fault still exists
...1] "myDbconnect print before driver" [1] "myDbconnect print after driver" *** caught segfault *** address 0x55, cause 'memory not mapped' Traceback: 1: .Call("RS_MySQL_newConnection", drvId, con.params, groups, default.file, PACKAGE = .MySQLPkgName) 2: mysqlNewConnection(drv, ...) 3: .class1(object) 4: .class1(object) 5: is(object, Cl) 6: .valueClassTest(standardGeneric("dbConnect"), "DBIConnection", "dbConnect") 7: dbConnect(drv, user = "xyz", password = "xyz", dbname = dbName, host = hostName) 8: myDbcon...
2009 Feb 18
0
Segmentation Fault occured while connecting to the database
...uot;)* *Loading required package: DBI* *[1] "myDbconnect print"* * *** caught segfault **** *address 0x55, cause 'memory not mapped'* * * *Traceback:* * 1: .Call("RS_MySQL_newConnection", drvId, con.params, groups, default.file, PACKAGE = .MySQLPkgName)* * 2: mysqlNewConnection(drv, ...)* * 3: .class1(object)* * 4: .class1(object)* * 5: is(object, Cl)* * 6: .valueClassTest(standardGeneric("dbConnect"), "DBIConnection", "dbConnect")* * 7: dbConnect(drv, user = "xyz", password = "xyz", dbname = dbName, host = hostNa...
2003 May 13
2
RMySQL crashes R
...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", host="myserver.com") I get the same result with mysqlNewConnection(). I've sucessfully used both previous versions of R and the MySQL package together with no problems. Regards, John Marsland ********************************************************************** This is a commercial communication from Commerzbank AG.\ \ This ... {{dropped}}
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.
2005 May 10
0
Connection problem to MySQL
...oading DBI package), I've got this message: " change FPU control word from 8001f to 9001f " After that I would like to do the connection: > con<-dbConnect(MySQL(), user="pegase",pass="*********",dbname="pegase",host="++++++") Error in mysqlNewConnection(drv, ...) : RS-DBI driver: (could not connect pegase@+++++ on dbname "pegase") (for security I have hiden th pass and the host) Releases that I'm using: R 2.1.0 RMySQL 0.5-5 DBI 0.1-9 MySQL 4.1.8-nt After most research on the net, I have found your email! I hope t...
2006 Nov 13
0
segfault in RMySQL dbConnect error handling
...0x7fffff9cc990 0x7fffff9cc990 rsp 0x7fffff9cc2f8 0x7fffff9cc2f8 (gdb) c *** caught segfault *** address 0x8d, cause 'memory not mapped' Traceback: 1: .Call("RS_MySQL_newConnection", drvId, con.params, groups, default.file, PACKAGE = .MySQLPkgName) 2: mysqlNewConnection(drv, ...) 3: .class1(object) 4: .class1(object) 5: is(object, Cl) 6: .valueClassTest(standardGeneric("dbConnect"), "DBIConnection", "dbConnect") 7: dbConnect(drv) Possible actions: 1: abort (with core dump) 2: normal R exit 3: exit R without saving workspace 4:...
2007 Apr 22
0
Intro and a Question
...details.") # drop into a network scan process... }} else {print("connection re-established")}; return(SentientCon) } ConTestPass<-function(aconnecttest){ if(aconnecttest==1) return(1) else return(0); } I now have a lot of orphaned connections? because I get back Error in mysqlNewConnection(drv, ...) : RS-DBI driver: (¸/&cannot allocate a new connection -- maximum of 16 connections already opened) So this means I need better control over the MySQL server connections within my R API. I could execute SQL statements, and go into the system but would prefer to stay within R if I can...
2012 Aug 09
0
RMySQL dbConnect issues
...-------------+ 2 rows in set (0.00 sec) But when I run the following: > library(RMySQL) Loading required package: DBI > drv = dbDriver("MySQL") > con = dbConnect(drv, user="adick", password = "***", dbname="***", host="***") Error in mysqlNewConnection(drv, ...) : RS-DBI driver: (Failed to connect to database: Error: Access denied for user 'adick'@'host' (using password: YES) ) Further, this error is sporadic. For example, it ran successfully yesterday afternoon. I have installed two MySQL databases on two separate computer...
2011 Jan 22
0
how to call BayesX in R to see the graph
...want to access MySQL databases in R. I enter the following: >> > mysql<- dbDriver("MySQL") >> > conn<- dbConnect(mysql,user='root',host='localhost', password='root') >> > >> > I get the following error message: Error in mysqlNewConnection(drv, ...) >> > : >> > RS-DBI driver: (Failed to connect to database: Error: Access denied for >> > user >> > 'root'@'localhost' (using password: YES) >> > >> > Does anyone know why these aren't equivalent? >> >...