← Back to team overview

maria-discuss team mailing list archive

Re: Installing MariaDB Alongside MySQL

 


Am 15.05.2018 um 11:39 schrieb Muhammad Bashir Al-Noimi:
> # /opt/mariadb/bin/mysqladmin  --defaults-file=/opt/mariadb-data/my.cnf 
> -uroot -p shutdown
> Enter password:
> /opt/mariadb/bin/mysqladmin: connect to server at 'localhost' failed
> error: 'Access denied for user 'root'@'localhost' (using password: YES)'
> 
> Strangely!!!
> 
> I passed the correct password of Ubuntu's root user!

irrelevant as you can see by "connect to server at 'localhost' failed"

/opt/mariadb/bin/mysqladmin --socket=path-to-socket

or make sure "/opt/mariadb-data/my.cnf" has a [mysqladmin] section
[mysqladmin]
socket = path-to-socket


Follow ups

References