Hello all,

I, a new TDK and MySql user, am having troubles with the ant init phase of
creating a new database. Here are the steps I'd taken so far; On Win2K,
using tdk2.1, I've edited the tdk/build.properties file and run ant. That
creates a directory tdk/webapps/appname. I've downloaded and unpacked MySql
4.0.9 gamma. It runs as a service. I've stopped other services that listen
to 127.0.0.1 (Apache). I've updated the following TWO properties in
tdk/webapps/appname/web-inf/build/build.properties:
        databaseUser = root
        databasePassword =

because I read in the MySql manual that new databases are created with an
administrative user 'root' and an empty password. (Are there other
properties the need setting?) When I run ant init, it hangs on the line

     [exec] D:\JavaTools\tdk\webapps\rob\WEB-INF\build>mysqladmin -u
root -p -h
127.0.0.1 --force drop appname

The processes java.exe and mysqld-max-nt.exe stay alive, albeit with no CPU
cycles. I've tried creating the database appname in MySql before running
this task, but it doesn't help, and I didn't get the idea that it was
necessary from reading the TDK documentation. What have I done wrong?
mysqladmin is on my PATH. I've spent quite a bit of time searching the
mailing list archive, and haven't seen anyone with this exact problem. Help
would be appreciated.

-Robert Douglass


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

Reply via email to