• Hi, I use MariaDB as database server for my wordpress website, in localhost.
    I’m under Linux Mint 19.

    I’m new to backend development and I wanted to know if my database server is running correctly, because I have lot of troubles while starting mariadb, I was recieving error messages like

    * “ERROR 2002 (HY000)” because the mysqld.sock file wasn’t exist in my /var/run/mysql/

    When I check apache2 I get this:

    * “AH00111: Config variable ${APACHE_RUN_DIR} is not defined” but I don’t know what to define in /etc/apache2/apache2.conf.

    Now my server is running when I use

    ~$ systemctl status mariadb

    is my output of this command is good ? is MariaDB running well ? [here a screen of the output][1]

    And I can access to mysql when I type

    ~$ mysql -u root -p

    My wordpress site ( url : [ip-adress]/wp-admin ) works well but because of all theses errors sometimes it crashes and get ‘error while establishing connection with database’

    I probably made big fiasco in all of my folders when I tried to fix these problems so I’m not really comfortable..

    Thanks for your help !

    [1]: https://i.stack.imgur.com/XxaIm.png

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Is my MariaDB databse server running well ?’ is closed to new replies.