← Back to team overview

maria-developers team mailing list archive

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

 

All perfect. I rename the files.

root@d7:/home/dac# mv -f /etc/mysql/my.cnf /etc/mysql/my.cnf.old
root@d7:/home/dac# ln -sf mariadb.cnf /etc/mysql/my.cnf



Reboot server.

And now is working


root@d7:/home/dac# mysql
Welcome to the MariaDB monitor.  Commands end with ; or \g.
Your MariaDB connection id is 40
Server version: 10.0.17-MariaDB-1~exp2 (Debian)

Copyright (c) 2000, 2015, Oracle, MariaDB Corporation Ab and others.

Type 'help;' or '\h' for help. Type '\c' to clear the current input
statement.

MariaDB [(none)]>









On Mon, Apr 6, 2015 at 12:32 PM, Otto Kekäläinen <otto@xxxxxxxxx> wrote:

> Hello!
>
> 2015-04-06 13:12 GMT+03:00 Daniel Cialdella Converti <dcialdella@xxxxxxxxx
> >:
> > root@d7:/etc/mysql# ll -lailR
> > .:
> > total 48
> > 1055141 drwxr-xr-x   4 root root  4096 Apr  6 12:10 .
> > 1044481 drwxr-xr-x 141 root root 12288 Apr  6 11:04 ..
> > 1055175 drwxr-xr-x   2 root root  4096 Apr  6 11:03 conf.d
> > 1044616 -rw-------   1 root root   277 Mar 26 11:57 debian.cnf
> > 1045134 -rw-------   1 root root   333 Feb 23 09:07
> debian_old_config.fsDTDb
> > 1055184 -rwxr-xr-x   1 root root  1312 Feb  3 04:34 debian-start
> > 1055178 -rw-r--r--   1 root root   744 Feb  9 20:21 mariadb.cnf
> > 1055147 drwxr-xr-x   2 root root  4096 Mar 24 10:03 mariadb.conf.d
> > 1055143 -rw-r--r--   1 root root  3540 Apr  6 11:09 my.cnf
> > 1055174 -rw-r--r--   1 root root  3506 Feb 16 11:49 my.cnf.dpkg-old
>
>
> The mariadb-common postinstall script was supposed to run:
>
> mv -f /etc/mysql/my.cnf /etc/mysql/my.cnf.old
> ln -sf mariadb.cnf /etc/mysql/my.cnf
>
> It does not seem to have happened for some reason..
>
> What if you Daniel C run those two lines manually (as root)?
>



-- 
---------------------------------------------------------------------------------------
(¯`**.(¯`**. From my TI 99 4/a - sorry for the delay     **´¯).**´¯)
(¯`**.(¯`**. Sent using Secure communications GPG **´¯).**´¯)
(¯`**.(¯`**. During delivery no animals were harmed    **´¯).**´¯)
---------------------------------------------------------------------------------------

Follow ups

References