Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 88302 invoked from network); 20 May 2008 14:12:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 20 May 2008 14:12:51 -0000 Received: (qmail 28370 invoked by uid 500); 20 May 2008 14:12:50 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 28289 invoked by uid 500); 20 May 2008 14:12:50 -0000 Mailing-List: contact users-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: users@cocoon.apache.org List-Id: Delivered-To: mailing list users@cocoon.apache.org Received: (qmail 28278 invoked by uid 99); 20 May 2008 14:12:50 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 May 2008 07:12:50 -0700 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [146.64.10.166] (HELO wabe.csir.co.za) (146.64.10.166) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 May 2008 14:11:52 +0000 X-CSIR-MailScanner-Watermark: 1211897499.39074@mbujP7iES+6pDk+6fHkvKQ Received: from cs-emo.csir.co.za (cs-emo.csir.co.za [146.64.10.40]) by wabe.csir.co.za (8.14.2/8.14.2) with ESMTP id m4KEBdTS002900 for ; Tue, 20 May 2008 16:11:39 +0200 Received: from GW-EMO-MTA by cs-emo.csir.co.za with Novell_GroupWise; Tue, 20 May 2008 16:11:38 +0200 Message-Id: <4832F825.5CE9.00D4.0@csir.co.za> X-Mailer: Novell GroupWise Internet Agent 7.0.3 Date: Tue, 20 May 2008 16:11:22 +0200 From: "Derek Hohls" To: Subject: Re: Cocoon-MySQL References: <17341170.post@talk.nabble.com> In-Reply-To: <17341170.post@talk.nabble.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-CSIR-MailScanner-Information: Please contact the ISP for more information X-MailScanner-ID: m4KEBdTS002900 X-CSIR-MailScanner: Found to be clean X-CSIR-MailScanner-From: dhohls@csir.co.za X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Status: No Normally, the dburl is of the form: jdbc:mysql://localhost:3306/abc Which is the standard port address for MySQL. (Remember to restart Tomcat after making such changes) >>> On 2008/05/20 at 04:05, in message <17341170.post@talk.nabble.com>, Mat= thew Monkan wrote: 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 is correct? false C:\Program Files\MySQL\MySQL Server 5.0\data\abc root In the website posted above they show something like jdbc:mysql://localhost:3306/YourDatabaseName?autoReconnect=3Dtrue 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 ? Thanks. --=20 View this message in context: http://www.nabble.com/Cocoon-MySQL-tp17341170= p17341170.html=20 Sent from the Cocoon - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org=20 For additional commands, e-mail: users-help@cocoon.apache.org=20 --=20 This message is subject to the CSIR's copyright terms and conditions, e-mai= l legal notice, and implemented Open Document Format (ODF) standard.=20 The full disclaimer details can be found at http://www.csir.co.za/disclaime= r.html. This message has been scanned for viruses and dangerous content by MailScan= ner,=20 and is believed to be clean. MailScanner thanks Transtec Computers for the= ir support. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org