Python keeps giving an error when execute sql request
<p>In this case, this project was writen on <code>python 3.4</code>, works with <code>mysql</code>(especially uses <code>pymysql</code> library). Getting this error while execute sql request: <strong><code>mysql error sql: unpack_from requires a buffer of at least 8 bytes</code></strong>. It tries to execute the sql query below:</p>

<pre><code>sql = """
        SELECT n.name
        FROM %s n
        WHERE n.ID = %d """ % (globals.tbl_notification_type, notificationTypeID)
</code></pre>

<p>Anybody came accross simular problems?</p>