Date: Fri, 29 May 2020 12:32:22 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 246837] mariadb104-server-10.4.13_2: mysql_secure_installation ignores my.cnf Message-ID: <bug-246837-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D246837 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@FreeBSD.org Reporter: oz42@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 connectio= ns. Version: '10.4.13-MariaDB' socket: '/var/run/mysql/mysql.sock' port: 3306= =20 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. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-246837-7788>