cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ard Schrijvers" <a.schrijv...@hippo.nl>
Subject RE: MySQL and Cocoon
Date Wed, 28 Dec 2005 11:43:17 GMT

> >>
> >> I added an entry to cocoon.xconf:
> >>
> >>   <jdbc name="mmis2">
> >>      <pool-controller max="10" min="5"/>
> >>      <auto-commit>true</auto-commit>
> >>      <dburl>jdbc:mysql://localhost/mmis2</dburl>
> >>      <user>user</user>
> >>      <password>user123</password>
> >>    </jdbc>
> 
> 
> You may need a port number here for localhost. I have not used mysql, 
> but in the case of postgresql, I would have to use
> 
> <dburl>jdbc:postgresql://localhost:5432/mmis2</dburl>

Default mysql runs on port 3306, so try it like jdbc:mysql://localhost:3306/yourdb

for the rest it looks fine to me

> -----------------------------------^^^^
> 
> -- 
> Andre H. Juffer              | Phone: +358-8-553 1161
> The Biocenter and            | Fax: +358-8-553-1141
>      the Dep. of Biochemistry | Email: Andre.Juffer@oulu.fi
> University of Oulu, Finland  | WWW: www.biochem.oulu.fi/Biocomputing/
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message