I've found many helpful pages on the web and on this forum, but I am still
having trouble connecting to a MySQL database I created on my computer.

I did an install of MySQL with all defaults...just breezed through. I'm
trying to do the Chapter 8 DB sample as explained in the Moczar and Aston
book. I created a DB called "abc" and it's stored wherever MySQL  defaults
to when you create a DB.

I've done all the steps explained in http://wiki.apache.org/cocoon/MySQL up
to what I'm questioning below:

I don't really understand the syntax I need or what folder or files Cocoon
needs to access for DB access. (I've never used DBs before.) Can someone
tell me if the <dburl> is correct?

    <jdbc name="abc" logger="core.datasources.abc">
      <pool-controller min="5" max="10"/>
      <auto-commit>false</auto-commit>
      <dburl>C:\Program Files\MySQL\MySQL Server 5.0\data\abc</dburl>
      <user>root</user>
      <password/>
    </jdbc>

In the website posted above they show something like
<dburl>jdbc:mysql://localhost:3306/YourDatabaseName?autoReconnect=true</dburl>

I've tried jdbc:mysql://localhost:8080/abc and
jdbc:mysql://localhost:8080/cocoon/abc (I'm using Tomcat on that port) but
this doesn't work. Do I need to copy and paste files from the MySQL folder
or fix my <dburl>?

Thanks.
-- 
View this message in context: 
http://www.nabble.com/Cocoon-MySQL-tp17341170p17341170.html
Sent from the Cocoon - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to