check this in build.properties (../todolist/build.properties)
configure db location (default is db)
torque.database.createUrl = jdbc:mysql://"yourserver"/yourdatabase
(todolist!)

"com.mysql.jdbc.Driver" instead of org.gjt.mm.mysql.Driver (I don't use
this...)

# -------------------------------------------------------------------
#
#  D A T A B A S E  S E T T I N G S
#
# -------------------------------------------------------------------
# JDBC connection settings. This is used by the JDBCToXML task that
# will create an XML database schema from JDBC metadata. These
# settings are also used by the SQL Ant task to initialize your
# Turbine system with the generated SQL.
#
# sameJavaName
#   If true, the JDBC task will set the javaName attribute for the
tables
#   and columns to be the same as SQL name.
# -------------------------------------------------------------------

torque.database.createUrl = jdbc:mysql://localhost/db
torque.database.buildUrl = jdbc:mysql://localhost/db
torque.database.url = jdbc:mysql://localhost/db
torque.database.driver = com.mysql.jdbc.Driver
torque.database.user =root
torque.database.password =
torque.database.host =localhost
torque.sameJavaName = false

--
M. Karthikeyan, Ph.D., Scientist
 _|      _|    _|_|_|  _|
 _|_|    _|  _|        _|
 _|  _|  _|  _|        _|
 _|    _|_|  _|        _|
 _|      _| o  _|_|_|o _|_|_|_|
 National    Chemical  Laboratory
 Pune - 411 008, INDIA
 Ph: +91-(0)20-5893 457  FAX: 5893 973
 http://www.ncl-india.org/



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to