[Zope] MySQLDA connection string?

Tony McDonald tony.mcdonald@ncl.ac.uk
Tue, 21 Sep 1999 08:24:35 +0100


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