Plesk inaccessible: SQLSTATE[HY000] [2002] No such file or directory

Follow

Comments

5 comments

  • Avatar
    Louis Maîtreau

    Hi guys,

    Can you help me with one thing : How can I find and and comment out the lines in Step 2 of Resolution ?

    Thank you ! :)

    0
    Comment actions Permalink
  • Avatar
    Vladimir Chernikov

    Hello @Louis,

    At first, connect to the server via SSH and run the following command to check these lines exist in the /etc/my.cnf:
    # cat /etc/my.cnf | grep log_

    If you see the empty output, then /etc/my.cnf does not contain these lines.

    If you see the output, you should open /etc/my.cnf in any text editor, for example, VI editor.

    Find the mentioned lines and comment them with "#" symbol, for example:
    # log_bin = /var/log/mysql/mariadb-bin
    # log_bin_index = /var/log/mysql/mariadb-bin.inde
    # log_slow_verbosity = query_plan

    0
    Comment actions Permalink
  • Avatar
    Louis Maîtreau

    Thank you for the answer Vladimir.

    Unfortunatly "No such file or directory". I opened a topic on the forum to help. No need to do it here.

    Thanks again.

    0
    Comment actions Permalink
  • Avatar
    Lisa Elford

    I have no idea how to do any of the above.  Who can help me on this.

    0
    Comment actions Permalink
  • Avatar
    Lev Iurev

    @Lisa Elford please create a ticket to us https://support.plesk.com/hc/en-us/requests/new

    0
    Comment actions Permalink

Please sign in to leave a comment.

Have more questions? Submit a request