[debian-mysql] python-testing.mysqld: (build-)depends on mysql-{client, server}

Emilio Pozuelo Monfort pochu at debian.org
Sun Jan 1 21:27:45 UTC 2017


On 01/01/17 17:30, Dominik George wrote:
> Hi,
> 
> I was able to identify the issue, but need help fixing it.
> 
> The problem is that the testing module uses the default root user of the
> newly created database, and it uses the UNIX socket, and that has
> peercred authentication by default in MariaDB.
> 
> I tried the following to disable peercred for the socket:
> 
> $ cat >init.sql
> USE mysql;
> UPDATE user SET plugin='' WHERE User='root';
> FLUSH PRIVILEGES;
> 
> $ mysqld … --initialize-insecure --init-file=init.sql
> 
> But it still does not allow connecting a non-root user as root through
> the UNIX socket.
> 
> Any help appreciated.

Cc'ing pkg-mysql-maint, maybe someone there can help.

Emilio



More information about the pkg-mysql-maint mailing list