Unknown MySQL error

R's Avatar


09 Apr, 2022 08:48 PM

Attempting to run ` heroku run rake ts:rebuild`

ThinkingSphinx::SphinxError: Unknown MySQL error
/app/vendor/bundle/ruby/2.7.0/gems/mysql2-0.5.3/lib/mysql2/client.rb:90:in `connect'

  1. Support Staff 1 Posted by Pat Allan on 09 Apr, 2022 10:55 PM

    Pat Allan's Avatar

    Are you finding this problem persists? And if so, can you let me know the name of your app so I can debug further.


    -- Pat

  2. 2 Posted by r_stonehouse on 10 Apr, 2022 12:00 AM

    r_stonehouse's Avatar

    Thanks Pat, yes it is still persisting.

    The name of the app is aircraft-sales-and-parts

         On Saturday, April 9, 2022, 03:55:57 PM PDT, Pat Allan <[email blocked]> wrote:

      #yiv8701479660 pre {width:92%;margin:10px 2%;padding:5px 2%;background:#efefef;border:1px solid #d6d6d6;}#yiv8701479660 blockquote {margin-left:0;padding-left:1em;border-left:5px solid #ccc;}

  3. 3 Posted by R on 10 Apr, 2022 07:06 PM

    R's Avatar

    I resolved this, I cleared the build cache and it worked after next deploy.

    There was no error with the previous build, so couldn't tell what was happening but tat fixed it.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:


Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac