You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by "Munt,Peter" <Pe...@spr.gases.boc.com> on 2003/03/31 03:48:05 UTC

Installing with mySQL

Hi 
I wonder if you can help me.  I have downloaded Turbine and mySQL as the DB.  I'm new to both !  In the install documentation 
http://jakarta.apache.org/turbine/tdk/tdk-howto.html

step 4 it asks to specify database properties and DB connection info

can you provide me some more specifics on this step ?

i.e what do I set the following build.properties to?


# todo!!!
lib.dir = ${build.webappRoot}/WEB-INF/lib
torque.home = ${build.webappRoot}/WEB-INF
outputDirectory = src
schemaDirectory = conf

# -------------------------------------------------------------------
#
#  D A T A B A S E  S E T T I N G S
#
# -------------------------------------------------------------------

database.name = partnernet
database = mySQL
createDatabaseUrl = ${createDatabaseUrl}
buildDatabaseUrl = ${buildDatabaseUrl}
databaseUrl = ${databaseUrl}
databaseDriver = ${database.driver}
databaseUser = user
databasePassword = password
databaseHost = ${databaseHost}

_____________________________________________________________________
This e-mail has been scanned for viruses by the WorldCom Internet Managed Scanning Service - powered by MessageLabs. For further information visit http://www.worldcom.com

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


Re: Installing with mySQL

Posted by peter riegersperger <ri...@subnet.at>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Monday 31 March 2003 03:48, Munt,Peter wrote:
> Hi
> I wonder if you can help me.  I have downloaded Turbine and mySQL as the
> DB.  I'm new to both !  In the install documentation
> http://jakarta.apache.org/turbine/tdk/tdk-howto.html
>
> step 4 it asks to specify database properties and DB connection info
>
> can you provide me some more specifics on this step ?
>
> i.e what do I set the following build.properties to?

database.name = partnernet
database = mysql
createDatabaseUrl = jdbc:mysql://127.0.0.1/partnernet
buildDatabaseUrl = jdbc:mysql://127.0.0.1/partnernet
databaseUrl = jdbc:mysql://127.0.0.1/partnernet
databaseDriver = org.gjt.mm.mysql.Driver
databaseUser = yourdbuser
databasePassword =yourdbuserspassword
databaseHost = 127.0.0.1

assuming that you're running your db on localhost.

hth,

rick


- -- 
|-
| peter riegersperger  <ri...@subnet.at>
|-
| subnet
| platform for media art and experimental technologies
|-
| http://www.subnet.at/
|-
| muehlbacherhofweg 5 // 5020 salzburg // austria
|-
| fon/fax +43/662/842 897
|- 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+h92LIMP39JYOy9IRAjGYAJ9UUsl0WEF+vAj7nIFBchJ3meVWIACgozyE
43BAP3qb6iEHVr+A3CJ24+I=
=rRE9
-----END PGP SIGNATURE-----


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