Displaying 3 results from an estimated 3 matches for "dbpwd".
2006 Jan 11
0
Connection problem with a generic-runtime-built ActiveRecord::Base
...Class
end
# read table Column names
def readTableColumnNames
return self.class.column_names()
end
end
this how I use it:
class GentestController < ApplicationController
def index
GenActRec.connectToPSQLDB("1.2.3.4", 5432, "gendb",
"dbuser" ,"dbpwd" )
# test create
genAClass =
GenActRec.buildNewTableClass("GenTableAs","gen_table_as")
@name = genAClass.name
obj1 = genAClass.new
@col1 = obj1.class.column_names()
@removedConnection = GenActRec.closeConnection()
# should be an error
@col2 = obj1.c...
2006 Feb 06
1
Panic: key not found from hash
...args = /etc/dovecot-sql.conf
}
# SQL database - normal
userdb sql {
args = /etc/dovecot-sql.conf
}
user = root
count = 1
}
==================== /etc/dovecot-sql.conf ====================
driver = mysql
connect = host=/var/lib/mysql/mysql.sock dbname=(DB) user=(DBUSER)
password=(DBPWD)
default_pass_scheme = CRYPT
password_query = SELECT pwhash AS password, user FROM mail_mailboxes
WHERE (user = '%n' AND active = 'Y' AND (type != 'smtp') AND (type =
'imap' OR '%s' = 'pop3')) OR (mainuser = '%n' AND user =
CONCAT('%n...
2009 Feb 26
2
removing daylight savings in R
Hi all,
I've been having some trouble with times in regards to daylight savings in R
version 2.8.1. I have an ORACLE database that R is importing data in from,
for the 2am and 2:30am time intervals for the dates that daylight savings
starts the times are getting read as NA values into R. I'm also finding that
if I open a R workspace from version 6.2.2,the datetimes are