← Back to team overview

maria-developers team mailing list archive

Re: Passwordless MariaDB root login with auth_socket in Debian continues..

 


----- Original Message -----
> 
> 
> ----- Original Message -----
> > Its something that i did fix on the patch i sent previously, its the
> > "INSTALL PLUGIN" statement that cannot be executed while "mysqld" has
> > been ran with "--skip-grant-table", it should be replaced by an "INSERT"
> > on the "mysql.plugin" table.
> > 
> > The line 192 :
> >          INSTALL PLUGIN unix_socket SONAME 'auth_socket';
> > 
> > Must be replaced with :
> >          INSERT INTO mysql.plugin (name, dl) VALUES ('unix_socket',
> > 'auth_socket');
> > 
> 
> Ah, I see, seems even removing --skip-grant-tables isn't enough

--skip-grant-tables is implied by --bootstrap

..
> While insert probably works for auth_socket as it has no init function on
> install, devs is there a reason why you can't install a plugin in bootstrap?

https://mariadb.atlassian.net/browse/MDEV-7781

https://github.com/MariaDB/server/pull/28/files

-- 
-- 
Daniel Black, Engineer @ Open Query (http://openquery.com.au)
Remote expertise & maintenance for MySQL/MariaDB server environments.


References