API Documentation

Classes

Connection

Functions

manage_addZMySQLConnection

Classes

class Connection

MySQL Connection Object


Product Constructor

manage_addZMySQLConnection(self, id, title, connection_string, check=None, REQUEST=None):

Add a MySQL connection to a folder.

Arguments:

REQUEST
The current request
title
The title of the ZMySQLDA Connection (string)
id
The id of the ZMySQLDA Connection (string)
connection_string
The connection string is of the form:

database[@host[:port]] [user [password [unix_socket]]]

or typically:

database user password

to use a MySQL server on localhost via the standard UNIX socket. Only specify host if the server is on a remote system. You can use a non-standard port, if necessary. If the UNIX socket is in a non-standard location, you can specify the full path to it after the password.


__module__ = __builtin__


Functions

manage_addZMySQLConnection(self, id, title, connection_string, check=None, REQUEST=None):

Add a MySQL connection to a folder.

Arguments:

REQUEST
The current request
title
The title of the ZMySQLDA Connection (string)
id
The id of the ZMySQLDA Connection (string)
connection_string
The connection string is of the form:

database[@host[:port]] [user [password [unix_socket]]]

or typically:

database user password

to use a MySQL server on localhost via the standard UNIX socket. Only specify host if the server is on a remote system. You can use a non-standard port, if necessary. If the UNIX socket is in a non-standard location, you can specify the full path to it after the password.