def _open(self, db, writeAccess=False):
if not pymysql:<EOL><INDENT>raise orb.errors.BackendNotFound('<STR_LIT>')<EOL><DEDENT>try:<EOL><INDENT>return pymysql.connect(db=db.name(),<EOL>user=db.username(),<EOL>passwd=db.password(),<EOL>host=(db.writeHost() if writeAccess else db.host()) or '<STR_LIT:localhost>',<EOL>port=db.port() or <NUM_LIT>,<EOL>cursorclass=pymysql.cursors.DictCursor)<EOL><DEDENT>except pymysql.OperationalError as err:<EOL><INDENT>log.exception('<STR_LIT>')<EOL>raise orb.errors.ConnectionFailed()<EOL><DEDENT>
Handles simple, SQL specific connection creation.  This will not
have to manage thread information as it is already managed within
the main open method for the SQLBase class.

:param      db | <orb.Database>

:return     <variant> | backend specific database connection