Displaying 7 results from an estimated 7 matches for "rs_mysql_newconnect".
2005 Jul 21
3
Rprof fails in combination with RMySQL
Dear R community,
I tried to optimized my R code by using Rprof. In my R code I'm using MySQL
database connections intensively. After a bunch of queries R fails with the
following error message:
Error in .Call("RS_MySQL_newConnection", drvId, con.params, groups, PACKAGE = .MySQLPkgName) :
RS-DBI driver: (could not connect mylogin@mydatabase on dbname "myDB"
Without the R profiler this code runs very stable since weeks.
Do you have any ideas or suggestions?
I tried the following R versions:
________...
2009 Feb 23
0
Segmentation Fault still exists
...-------*
*> source("sample.R")
Loading required package: DBI
[1] "inside main"
[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...
2003 Mar 17
1
RMySQL Install Problem
...cal/lib/R/include -I/usr/include/mysql -I/usr/local/include
-D__NO_MATH_INLINES -mieee-fp -fPIC -g -O2 -c RS-DBI.c -o RS-DBI.o
gcc -I/usr/local/lib/R/include -I/usr/include/mysql -I/usr/local/include
-D__NO_MATH_INLINES -mieee-fp -fPIC -g -O2 -c RS-MySQL.c -o RS-MySQL.o
RS-MySQL.c: In function `RS_MySQL_newConnection':
RS-MySQL.c:203: `MYSQL_OPT_LOCAL_INFILE' undeclared (first use in this
function)
RS-MySQL.c:203: (Each undeclared identifier is reported only once
RS-MySQL.c:203: for each function it appears in.)
make: *** [RS-MySQL.o] Error 1
ERROR: compilation failed for package 'RMySQL'
De...
2009 Feb 18
0
Segmentation Fault occured while connecting to the database
...ted.Though followed by error
messages,shown below:-----------------
*> source("new_regression.R")*
*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")*...
2002 Oct 04
0
RMySQL_0.5-0 installation problem
...R 1.6.0 I tried to install the latest RMySQL
(0.5-0) package (Omegahat).
The following error was reported
[...]
gcc -I/mnt/local/R/R-1.6.0/lib/R/include -I/usr/include/mysql
-I/usr/local/include -D__NO_MATH_INLINES -mieee-fp -fPIC -g -O2 -c RS-MySQL.c
-o RS-MySQL.o
RS-MySQL.c: In function `RS_MySQL_newConnection':
RS-MySQL.c:203: `MYSQL_OPT_LOCAL_INFILE' undeclared (first use in this
function)RS-MySQL.c:203: (Each undeclared identifier is reported only once
RS-MySQL.c:203: for each function it appears in.)
make: *** [RS-MySQL.o] Error 1
ERROR: compilation failed for package 'RMySQL'
An...
2006 Nov 13
0
segfault in RMySQL dbConnect error handling
...rgument 2)
"nrecognised R/S type for group"
rdi 0x8d 141 (argument 1)
rbp 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(d...
2005 Mar 14
2
Install the RMySQL
...MySQL.h:132: (near initialization for `RS_MySQL_dataTypes
[23]')
RS-MySQL.c:25: `MYSQL_SERVER_VERSION' undeclared here (not
in a function)
RS-MySQL.c: In function `RS_MySQL_init':
RS-MySQL.c:73: warning: initialization makes pointer from
integer without a cast
RS-MySQL.c: In function `RS_MySQL_newConnection':
RS-MySQL.c:189: `MYSQL' undeclared (first use in this
function)
RS-MySQL.c:189: (Each undeclared identifier is reported only
once
RS-MySQL.c:189: for each function it appears in.)
RS-MySQL.c:189: `my_connection' undeclared (first use in
this function)
RS-MySQL.c:238: `MYSQL_READ...