google.appengine.api.rdbms_mysqldb module

Summary

Relational database API stub that uses the MySQLdb DB-API library.

Also see the rdbms module.

Contents

google.appengine.api.rdbms_mysqldb.FindUnixSocket()source

Find the Unix socket for MySQL by scanning some known locations.

Returns

If found, the path to the Unix socket, otherwise, None.

google.appengine.api.rdbms_mysqldb.SetConnectKwargs(**kwargs)source

Sets the keyword args (host, user, etc) to pass to MySQLdb.connect().

google.appengine.api.rdbms_mysqldb.connect(instance=None, database=None)source
google.appengine.api.rdbms_mysqldb.set_instance(instance)source