Ad Widget

Collapse

[Z3001] [2002] Can't connect to local MySQL server through socket

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Recox
    Junior Member
    • Dec 2020
    • 11

    #1

    [Z3001] [2002] Can't connect to local MySQL server through socket

    I need some help installing Zabbix 5.2 in a lubuntu 20.04


    I configured properly the file /etc/zabbix/zabbix_server.conf

    DBHost=localhost
    DBName=zabbix
    DBUser=zabbix
    ##DBPassword=
    DBPort=3306

    Also I tried with
    DBName=root

    but nothing.

    I am running the MySql through XAMPP

    These credentials are ok as I am entering to the database from another computer in a different country (of course changing host for the real ip.)




    Any Idea what can I do?
    Here the logs

  • Recox
    Junior Member
    • Dec 2020
    • 11

    #2
    Fixed, these 2 files needs to look the same for the socket property.

    Comment

    • dorick
      Junior Member
      • Feb 2022
      • 1

      #3
      Hi Recox, I am having the same error - How did you fixed it ? i cant see the above -

      Comment

      Working...