Displaying 1 result from an estimated 1 matches for "contestpass".
Did you mean:
contestas
2007 Apr 22
0
Intro and a Question
...erwise, kill it if it is unattached, then refresh the connection and continue with my program executions. I have tried making a simple dummy table with one value and something like
EnsureCon<-function(){
conMissing<-0;
mytest<-try(sql("select * from ConTest"),silent=TRUE);
if(ConTestPass(mytest[[1]])==0) {
conMissing<-1;
SentientCon<-dbConnect(MySQL(), user="root", password="mypass", host="localhost", dbname="mydatabase", port=3307);
print("attemping reconnect...")
}
else {print("connection intact")};
if (conMi...