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




  • 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 ! :)

  • 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

  • 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.

  • Avatar
    Lisa Elford

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

  • Avatar
    Lev Iurev

    @Lisa Elford please create a ticket to us

Please sign in to leave a comment.

Have more questions? Submit a request