You can find more on mySQL authorisartion in the documents on the mySQL
site. One of them is http://www.mysql.com/articles/mysql_intro.html
All it comes down to is setting the correct entries in the user and db
tables in the mysql database.
Bert
At 11:43 27/03/2002 +0200, you wrote:
>Peter
>
>T
Peter
Thanks for the hint; could you be more specific as to what/how
the authorisation was implemented?
Derek
>>> [EMAIL PROTECTED] 27/03/2002 10:42:13 >>>
I had a similar problem, Derek, which I eventually tracked down to
authorisation problems. My DB was set up for user@localhost, and the
d
o:[EMAIL PROTECTED]]
Sent: Wednesday, March 27, 2002 8:39 AM
To: [EMAIL PROTECTED]
Subject: Re: Database connection problem
1) The jdbc driver file is loaded under: WEB-INF/classes/
2) The xconf file contains:
true
jdbc:mysql://localhost:3306/mydbase
foo
I had a similar problem, Derek, which I eventually tracked down to
authorisation problems. My DB was set up for user@localhost, and the driver
was trying to connect with [EMAIL PROTECTED] When I added this
authorisation to the MySQL tables, it worked w/o problem. Yours may be a
different cause
Tell us, version of Cocoon and JDK.
Have you compiled Cocoon by yourself and under what JDK ?
-Original Message-
From: Derek Hohls [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 27, 2002 8:39 AM
To: [EMAIL PROTECTED]
Subject: Re: Database connection problem
1) The jdbc driver file
it's worth a try
Regards
Kurt
-Message d'origine-
De: Derek Hohls [mailto:[EMAIL PROTECTED]]
Date: mercredi, 27. mars 2002 07:39
À: [EMAIL PROTECTED]
Objet: Re: Database connection problem
1) The jdbc driver file is loaded under: WEB-INF/classes/
2) The xconf file contains:
1) The jdbc driver file is loaded under: WEB-INF/classes/
2) The xconf file contains:
true
jdbc:mysql://localhost:3306/mydbase
foo
bar
3) I am not sure what you mean by "access.log" - I only have
cocoon.log and root.log in my WEB-INF/logs di
1) You must have jdbc driver file in classpath
2) Check your cocoon.xconf
for ... for pool configuration
3) See access.log for message like this
DEBUG (2002-03-26) 17:04.45:713 [access] (Unknown-URI)
Unknown-thread/Cocoon
Servlet: Trying to load class: org.gjt.mm.mysql.Driver
- Original