[Bug 246837] mariadb104-server-10.4.13_2: mysql_secure_installation ignores my.cnf

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri May 29 12:32:28 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=246837

            Bug ID: 246837
           Summary: mariadb104-server-10.4.13_2: mysql_secure_installation
                    ignores my.cnf
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs at FreeBSD.org
          Reporter: oz42 at oz42.eu

My freshly installed mysqld from ports starts just fine:

2020-05-29 14:26:11 0 [Note] Server socket created on IP: '127.0.0.1'.
2020-05-29 14:26:11 0 [Note] Reading of all Master_info entries succeeded
2020-05-29 14:26:11 0 [Note] Added new Master_info '' to hash table
2020-05-29 14:26:11 0 [Note] /usr/local/libexec/mysqld: ready for connections.
Version: '10.4.13-MariaDB'  socket: '/var/run/mysql/mysql.sock'  port: 3306 
FreeBSD Ports

But mysql_secure_installation ignores the settings from
/usr/local/etc/mysql/my.cnf:


# mysql_secure_installation

NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MariaDB
      SERVERS IN PRODUCTION USE!  PLEASE READ EACH STEP CAREFULLY!

In order to log into MariaDB to secure it, we'll need the current
password for the root user. If you've just installed MariaDB, and
haven't set the root password yet, you should just press enter here.

Enter current password for root (enter for none):
ERROR 2002 (HY000): Can't connect to local MySQL server through socket
'/tmp/mysql.sock' (2)


/usr/local/etc/mysql/my.cnf was created by 'make install' and not changed.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list