title: Data provider or other service returned an E_FAIL status (vba mysql recordset)
body: <p>I am getting the following error when trying to write the data from a table in a database into a sheet. </p>
  
  <p>My code looks like this:</p>
  
  <pre><code>Public Sub download_nodes()
  
      Dim pull As New QueryHandler
      Dim rst As Recordset
  
      'Get info from mysql into Recordset
      With pull
        .ConnectionString = "localhost"
        .SQLQuery = "SELECT * FROM `table_db`;"
        Set rst = .RetrieveQuery
      End With
  
      'Write data in worksheet "Test"
      If Not rst.EOF Then
          Sheets("Test").Range("A1").CopyFromRecordset rst
      End If
  
  End Sub
  </code></pre>
  
  <p>Any idea what the issue could be? Thanks!</p>