You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by Gregory Polimis <gp...@algorithmics.com> on 2001/06/13 21:33:02 UTC

'mysqladmin' command in create-database.bat

Just curious about from where this command is coming? After trying to run
'ant init' the build fails. I do a search for files containing the string
'mysqladmin' but only create-database.bat, unix.vm and windows.vm show. I've
yet to create the db manually but would like to know howto get at this
command. Nowhere does it say to install mysql first, or does it? Thanks in
advance for any and all replies, the error msg from the dos window follows.

Greg Polimis
****************************************************************************
***********************************************************************
C:\$JAKARTA_HOME\tdk\webapps\turbineapp\WEB-INF\build>ant init
Buildfile: build.xml

init:

init-tasks:

set-os:

set-windows2000:

set-windowsNT:

set-windows98:

set-unix:

unix-ext:

windows-ext:

ext:
     [echo] Platform = windows
     [echo] Extension = bat

create-database:
     [echo] create-database.bat
C:\$JAKARTA_HOME\tdk\webapps\turbineapp\WEB-INF\src\sql\create-database.bat
     [exec]
     [exec] C:\$JAKARTA_HOME\tdk\webapps\turbineapp\WEB-INF\build>REM -
Batch file to automatically create
     [exec]
     [exec] The name specified is not recognized as an
     [exec] internal or external command, operable program or batch file.
     [exec] C:\$JAKARTA_HOME\tdk\webapps\turbineapp\WEB-INF\build>REM -
MySQL database from Windows machines :-)
     [exec]
     [exec] The name specified is not recognized as an
     [exec] internal or external command, operable program or batch file.
     [exec] C:\$JAKARTA_HOME\tdk\webapps\turbineapp\WEB-INF\build>mysqladmin
-uuser -ppassword -h 127.0.0.1 --force drop turbineapp
     [exec]
     [exec] C:\$JAKARTA_HOME\tdk\webapps\turbineapp\WEB-INF\build>mysqladmin
-uuser -ppassword -h 127.0.0.1 --force create turbineapp

BUILD FAILED

C:\$JAKARTA_HOME\tdk\webapps\turbineapp\WEB-INF\build\build.xml:119: Exec
returned: 1

Total time: 3 seconds
****************************************************************************
***********************************************************************

Re: 'mysqladmin' command in create-database.bat

Posted by Daniel Rall <dl...@finemaltcoding.com>.
Gregory Polimis <gp...@algorithmics.com> writes:

> Just curious about from where this command is coming? After trying to run
> 'ant init' the build fails. I do a search for files containing the string
> 'mysqladmin' but only create-database.bat, unix.vm and windows.vm show. I've
> yet to create the db manually but would like to know howto get at this
> command. Nowhere does it say to install mysql first, or does it? Thanks in
> advance for any and all replies, the error msg from the dos window follows.

If you're going to urinate, first lift the toliet seat...

Yes, you need to first install MySQL if you're trying to install the
TDK against MySQL.  If there is some documentation WRT to this that
you really feel is missing, please submit a patch against the
appropriate file from the xdocs directory.

Daniel Rall

---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org