[Zope] MySQL Database Connector
ghaley@mail.venaca.com
ghaley@mail.venaca.com
Mon, 2 Apr 2001 18:18:20 -0400 (EDT)
hi jens,
if you've gotten this far, you've made a lot of progress indeed.
the connection string what you use to open a mysql client connection.
if you were running from a shell prompt, you could enter something like:
$ mysql -u root dbase_name -p
mysql would prompt you for the root password.
the connection string for a zmysql database connection is something like:
dbase_name user password
note they are not separated by commas. if you could not set this when you
added the method, you can go to the properties of the connection method
and set them there.
also, please note, i have also seen the connection string to be simply the
database name and the root users password, though 2.3 (which i have on my
home machine) does not allow that.
hth.
ciao!
greg.
Gregory Haley
DBA/Web Programmer
Venaca, LLC.
> I've played a bit with Zope, read a load of HOWTOs and intros etc.
> and > like > it so far, but I haven't found a documentation source
> where to look up > the > "simple" things, like how to connect to a
> MySQL database. e.g. the > ZMYSQL > connector wants a "connection
> string" - what is that (authentication?) > how > is it formatted etc?
>
> Is there a tutorial how to set up a simple (external)
> database-driven > webpage (something like a guestbook or table
> editor)? That might help me > get going. > > Thanks! >