Displaying 3 results from an estimated 3 matches for "mydbconnect".
Did you mean:
mdbconnect
2009 Feb 18
0
Segmentation Fault occured while connecting to the database
...ut segmentation faults.I
understand what it is,but why my script's throwing the error i don't know.
This is my main function:----
*main<-function()*
*{*
* dbName<-"xyz_database"*
* hostName<-"xyz.com"*
* con<-myDbconnect(dbName,hostName) *
* *
* #Fetching exact sub group names*
* sub_grp_exact_num<-getSbGrpExactNum(con)*
* sub_grp_exact_num_data<-sub_grp_exact_num$matrix*
* sub_grp_exact_num_data_size<-sub_grp_exact_num$dim*...
2009 Feb 23
0
Segmentation Fault still exists
...Version *
*DBI "0.1-11" *
*RMySQL "0.5-11" *
* *
*MySQL version: 5.0.32*
*A small R- program* *also doesn't run now*,whereas with these same
configurations,i ran correlation analysis,regression analysis for my
datasets.
Now if i do this :---
*library(RMySQL)
myDbconnect<-function(dbName,hostName)
{
print("myDbconnect print before driver")
drv<-MySQL()
#print(drv)
print("myDbconnect print after driver")
#con <- dbConnect(drv, user="xyz", password="xyz",dbname = dbName, host
= hostName)
con<...
2009 May 16
1
Fwd: Cannot allocate a new database connection error
...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 the argument 'res' in selecting a method for function
'fetch'*
*this is my DB connection function*
*myDbConnect <- function (dbName, hostName) {
drv<-MySQL()
con <- dbConnect(drv, user="xyz", password="xyz",dbname = dbName, host
= hostName)
return(con)
}*
everytime i need ,Db connection , i used in this way:----
This is the structure of my code:--
main <-...