Ad Widget

Collapse

new user wanting to try zabbix

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rurynofan
    Junior Member
    • May 2023
    • 1

    #1

    new user wanting to try zabbix

    I am a new user and I am trying to install zabbix for our company and having some difficulty, I get the following error:

    $ sudo mysql -uroot -p
    Enter password:
    ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)​

    Any help would be appreciated. Thanks
  • cyber
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Dec 2006
    • 4807

    #2
    MySQL installed? Working?

    Comment

    • max_bz
      Junior Member
      Zabbix Certified SpecialistZabbix Certified Professional
      • Mar 2023
      • 17

      #3
      Check the status of MySQL
      Code:
      systemctl status mysqld
      It must be in active (running) state

      Check if the mysql.sock file exist in the folder
      Code:
      sudo ls /var/lib/mysql

      Comment

      • Potato-Warrior
        Junior Member
        • May 2023
        • 12

        #4
        if u are doing it for ur company u should put it in three separate servers. for scalability i have my documantation but its in dutch u will have to translate some of it but u should understand it kinda.

        im using ubuntu server 22.04 for all three of my servers and mysql for the database. zabbix version 6.4​

        i am having a bit of trouble with the agent but the rest works.

        Good luck
        Attached Files
        Last edited by Potato-Warrior; 22-05-2023, 10:42.

        Comment

        Working...