Skip to content

segfault in RMySQL

1 message · Ronaldo Reis Jr.

#
Hi all,

I have experimented a segmentation fault error using 
RMySQL_0.4-6 library in R 1.5.1.

Look the sequence:

-------------------------------------------
<MySQLManager:(1137)>
<MySQLManager:(1137)> 
  Driver name:  MySQL 
  Max  connections: 10 
  Conn. processed: 0 
  Default records per fetch: 500 
  Open connections: 0
Process R segmentation fault at Wed Aug 28 08:21:11 2002
-------------------------------------------

The problem is always in dbConnect function.

I try:

---------------------------------
---------------------------------

where tese is in .my.cfn 

-------------------------------------
[ronaldo at debian ronaldo]$ cat .my.cfn 
     [tese]
     user = ronaldo
     database = tese
     password = mypass
     host = localhost
-------------------------------------

I try also:

----------------------------------------
+ database="tese",password="mypass")
----------------------------------------

The problem is the same.

I use R on Debian Woody.

The R work well, the mysql work fine in shell.

I compiled and recompiled 

Anybody have any idea for solution or discovery why, how and where is the 
problem?

Thanks

Ronaldo