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

_______________________________________________
Python-modules-team mailing list
Python-modules-team@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team

Reply via email to