cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeroen Reijn <j.re...@hippo.nl>
Subject Re: MySQL and Cocoon
Date Wed, 28 Dec 2005 12:39:35 GMT
Hi Sergio,

your configuration seems fine. The JDBC driver will (if not specified) use 3306 
as the default port. So you do not need to specify this. It seems to me that the 
somehow your user does not have enough privileges to connect to the database server.

Did you find anything else in your logs?

Regards,

Jeroen

Ard Schrijvers wrote:
>>>> 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
> 

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


Mime
View raw message