Logo Search packages:      
Sourcecode: zope-mysqlda version File versions  Download package


def manage_addZMySQLConnection(self, id, title,
                                check=None, REQUEST=None):
    """Add a MySQL connection to a folder.


        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.


00030 class Connection:
    """MySQL Connection Object"""

    __constructor__ = manage_addZMySQLConnection

Generated by  Doxygen 1.6.0   Back to index