Hi,
I am trying to get the tdk(2.1) up and running on RH 7.1, sun's jdk1.3.1 and
mysql 3.23.40. I changed the build.properties to an account that I created
with full permissions. I am able to create tables with that account in
mysql but when i run the ant init script no tables are created and I get the
following error. I get the same results when using the root account for the
database. Any ideas?
Thanks in advance,
Erik
<------------------------------build output ------------------------------>
Buildfile: build.xml
init:
init-tasks:
set-os:
set-windows2000:
set-windowsNT:
set-windows98:
set-unix:
unix-ext:
windows-ext:
ext:
[echo] Platform = unix
[echo] Extension = sh
create-database:
[echo] create-database.sh
/home/engs1eri/tdk/webapps/newapp/WEB-INF/src/sql/create-database.sh
[exec] Database "newapp" dropped
init-tasks:
turbine-sql:
[echo] +------------------------------------------+
[echo] | |
[echo] | Generating SQL for Turbine base system! |
[echo] | |
[echo] +------------------------------------------+
/home/engs1eri/tdk/webapps/newapp/WEB-INF/src/sql/turbine-schema.sql
init-tasks:
turbine-id-table-sql:
[echo] +------------------------------------------+
[echo] | |
[echo] | Generating SQL for YOUR Turbine project! |
[echo] | Woo hoo! |
[echo] | |
[echo] +------------------------------------------+
/home/engs1eri/tdk/webapps/newapp/WEB-INF/src/sql/id-table-schema.sql
init-tasks:
turbine-id-table-init-sql:
[echo] +------------------------------------------+
[echo] | |
[echo] | Generating TURBINE initialization SQL |
[echo] | for ID Broker system! |
[echo] | |
[echo] +------------------------------------------+
/home/engs1eri/tdk/webapps/newapp/WEB-INF/src/sql/turbine-id-table-init.sql
init-tasks:
turbine-security-sql:
[echo] +------------------------------------------+
[echo] | |
[echo] | Generating Turbine security system SQL! |
[echo] | |
[echo] +------------------------------------------+
/home/engs1eri/tdk/webapps/newapp/WEB-INF/src/sql/turbine-security.sql
turbine-insert-sql:
insert-sql-file:
BUILD FAILED
/home/engs1eri/tdk/webapps/newapp/WEB-INF/build/build.xml:367:
java.sql.SQLExcep
tion: Invalid authorization specification: Access denied for user:
'turbine@loca
lhost.localdomain' (Using password: YES)
--- Nested Exception ---
java.sql.SQLException: Invalid authorization specification: Access denied
for us
er: '[EMAIL PROTECTED]' (Using password: YES)
at org.gjt.mm.mysql.MysqlIO.init(MysqlIO.java:330)
at org.gjt.mm.mysql.Connection.connectionInit(Connection.java:265)
at
org.gjt.mm.mysql.jdbc2.Connection.connectionInit(Connection.java:89)
at org.gjt.mm.mysql.Driver.connect(Driver.java:167)
at org.apache.tools.ant.taskdefs.SQLExec.execute(SQLExec.java:352)
at org.apache.tools.ant.Target.execute(Target.java:153)
at org.apache.tools.ant.Project.runTarget(Project.java:898)
at org.apache.tools.ant.Project.executeTarget(Project.java:536)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:213)
at
org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:103)
at org.apache.tools.ant.Target.execute(Target.java:153)
at org.apache.tools.ant.Project.runTarget(Project.java:898)
at org.apache.tools.ant.Project.executeTarget(Project.java:536)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:213)
at
org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:103)
at org.apache.tools.ant.Target.execute(Target.java:153)
at org.apache.tools.ant.Project.runTarget(Project.java:898)
at org.apache.tools.ant.Project.executeTarget(Project.java:536)
at org.apache.tools.ant.Project.executeTargets(Project.java:510)
at org.apache.tools.ant.Main.runBuild(Main.java:421)
at org.apache.tools.ant.Main.main(Main.java:149)
Total time: 32 seconds
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]