Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-5316

Starting MariaDB 10.0.6 with TokuDB gives ERROR 2002 (HY000) but socket is working correctly

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 10.0.6
    • 10.0.10
    • OTHER
    • Debian 7

    Description

      Upgraded to MariaDB 10.0.6 today (via aptitude upgrade) and configured the newly available TokuDB engine as my default engine, after changing the configuration file I restarted the server with service mysql restart. The server restarted normally but the following message was printed to the console after the restart finished (and blocked the prompt).

      root@s1:~# ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111 "Connection refused")

      The funny part is that I simply hit Ctrl + C and type mysql -u root -p and connecting to server works as expected. Same goes for my PHP application that uses mysqlnd to access the database. No problems with anything, just that awkward error message on the prompt.

      I attached my complete my.cnf file.

      Attachments

        Activity

          People

            Unassigned Unassigned
            Fleshgrinder Richard Fussenegger
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.