Ad Widget

Collapse

Zabbix on Almalinux

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Clausen1998
    Junior Member
    • Jul 2024
    • 1

    #1

    Zabbix on Almalinux

    Hello everyone

    I'm fairly new to Linux, and right now, I'm trying to find the MySQL file where I can adjust the bind address, but I'm having trouble locating it. Some sites say it's located at /etc/my.cnf, but when I open that file, there isn't a line that explicitly says "Bind address." Can someone please help me and maybe tell me where I can find the correct file?
  • markfree
    Senior Member
    • Apr 2019
    • 868

    #2
    MySQL default files are usually located in the following location:
    Code:
    /etc/my.cnf
    /etc/mysql/my.cnf
    ~/.my.cnf
    /usr/etc/my.cnf
    Then look for the "bind-address" parameter. If it is commented out, simply uncomment it and set your preferred bind address.
    Code:
    # bind_address=*
    You should consult MySQL documentation for more information

    Note that the configuration files and parameters may differ depending on your MySQL version and OS distribution.

    Comment

    • tim.mooney
      Senior Member
      • Dec 2012
      • 1427

      #3
      Originally posted by Clausen1998
      I'm fairly new to Linux, and right now, I'm trying to find the MySQL file where I can adjust the bind address, but I'm having trouble locating it. Some sites say it's located at /etc/my.cnf, but when I open that file, there isn't a line that explicitly says "Bind address." Can someone please help me and maybe tell me where I can find the correct file?
      You don't say what version of AlmaLinux you're using (8.x? 9.x?) or what version of MySQL, but the files you're looking for are probably under /etc/my.cnf.d/

      Different Linux distributions ("distros") build their software in different ways.

      AlmaLinux is a rebuild/respin of Red Hat Enterprise Linux (aka RHEL), so documentation you find for RHEL will be generally accurate for AlmaLinux.

      Comment

      Working...