title: Properly getting blobs from mysql database with mysql connector in python
body: <p>When executing the following code:</p>
  <pre><code>import mysql.connector
  connection = mysql.connector.connect(...) # connection params here
  cursor = connection.cursor()
  cursor.execute('create table test_table(value blob)')
  cursor.execute('insert into test_table values (_binary %s)', (np.random.sample(10000).astype('float').tobytes(),))
  cursor.execute('select * from test_table')
  cursor.fetchall()
  </code></pre>
  <p>I get the following error:</p>
  <blockquote>
  <p>UnicodeDecodeError: 'utf-8' codec can't decode byte 0xf7 in position
  1: invalid start byte</p>
  <p>(...and then a stack trace which I don't think is useful here)</p>
  </blockquote>
  <p>It seems that mysql connector converts my blob to string (and fails to do so). How can I fetch this data as bytes without any conversion?</p>