Hello,
thanks for your answer! I made the changes in my "build.properties"-file.
Now I get several Exceptions:
1. ...
[sql] Executing file:
C:\Programme\...\webapps\test1\WEB-INF\src\sql\create-db.sql
[sql] failed to execute: drop database if exits default
[sql] java.sql.SQLException: Syntax error or access violation: You
have an error in your SQL syntax near 'default' at line 1
[sql] ...create databse default
[sql] java.sql.SQLException: Syntax error or access violation: You
have an error in your SQL syntax near 'default' at line 1
....
2. ...
[tourque-sql-exec] Failed to execute: insert into ID_Table (
id_table, table_name, next_id, quantity) VALUES (...)
[tourque-sql-exec] java.sql.SQLException: General error: Table
'test1.id_table' doesn't exist
....
3. ...
compile:
BUILD FAILED
file : C:\..../build.xml: 384: scrdir "C:\...\WEB-INF\build\C" does
not exist!
What's wrong now? Are there any other settings that have to be done before i
execute "ant init"? Are the following Exceptions depending on the first?
-----Urspr�ngliche Nachricht-----
Von: Eric Emminger [mailto:[EMAIL PROTECTED]]
Gesendet am: Montag, 18. November 2002 20:14
An: Turbine Users List
Betreff: Re: getting started with TDK2.2 rc1?
Norman
> I have done the steps from the TDK Howto, but when i want to execute the
> "ant init" i get the following message:
> .../build-tourque.xml:303: java.sql.SQLExeception: General error: unknown
> database 'newapp'.
Try changing the createDatabaseUrl to
createDatabaseUrl = jdbc:mysql://127.0.0.1/mysql
I think Torque has to connect to the main mysql database in order to
create newapp.
Hope that works!
Eric
--
Eric Emminger
[EMAIL PROTECTED]
--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>