Displaying 2 results from an estimated 2 matches for "new_regression".
2009 Feb 18
0
Segmentation Fault occured while connecting to the database
...yz",dbname =
dbName, host = hostName)*
* #return(con)*
*}*
When print("myDbconnect print") is the first line of the myDbconnect
function "myDbconnect print" gets printed.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)*
*...
2009 Feb 18
1
Possible Cause of Segmentation Fault
...already finished reading my previous emails regarding
segmentation fault , please have a look at this .I think this may help you
to diagnose the reason for the segmentation fault and help me,because i
don't understand much.
Rather than running the script using the command "
source("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...