Yes I am a newbie to MySQL and Zope 2 ... However I have installed MySQLdb-0.1.0 and applied applied the patch that comes with it to MySQLDA. And I got MySQLdb working in a little python session. So the question is: what is the magic connection string that I have to give to the form when I want to add a "Z MySQL Database Connection". Sorry if I missed some very explicit instructions, but an honest attempt was made to do the homework. Thanks for your indulgences, Joseph Mann
The connection string is: dbname@hostname username password so aspire@localhost aspuser asppassword would connect the user aspuser to the aspire database on the localhost with a password of asppassword HTH Phil phil@philh.org -----Original Message----- From: Joseph Mann [mailto:joseph@crema.v-wave.com]On Behalf Of Joseph Mann Sent: Tuesday, September 21, 1999 7:03 AM To: zope@zope.org Subject: [Zope] MySQLDA connection string? Yes I am a newbie to MySQL and Zope 2 ... However I have installed MySQLdb-0.1.0 and applied applied the patch that comes with it to MySQLDA. And I got MySQLdb working in a little python session. So the question is: what is the magic connection string that I have to give to the form when I want to add a "Z MySQL Database Connection". Sorry if I missed some very explicit instructions, but an honest attempt was made to do the homework. Thanks for your indulgences, Joseph Mann _______________________________________________ Zope maillist - Zope@zope.org http://www.zope.org/mailman/listinfo/zope (To receive general Zope announcements, see: http://www.zope.org/mailman/listinfo/zope-announce For developer-specific issues, zope-dev@zope.org - http://www.zope.org/mailman/listinfo/zope-dev )
At 12:02 am -0600 21/9/99, Joseph Mann wrote:
Yes I am a newbie to MySQL and Zope 2 ... However I have installed MySQLdb-0.1.0 and applied applied the patch that comes with it to MySQLDA. And I got MySQLdb working in a little python session. So the question is: what is the magic connection string that I have to give to the form when I want to add a "Z MySQL Database Connection".
it's a simple string databasename@machine.name username password eg creditcarddetails@myhost.org root letmein where username and password are in the MySQL 'grant' table. You may *even* be able to get away with; databasename although this is bad :) tone. ------ Dr Tony McDonald, FMCC, Networked Learning Environments Project http://nle.ncl.ac.uk/ The Medical School, Newcastle University Tel: +44 191 222 5888 Fingerprint: 3450 876D FA41 B926 D3DD F8C3 F2D0 C3B9 8B38 18A2
participants (3)
-
Joseph Mann -
Phil Harris -
Tony McDonald