Pierre Labastie wrote:
Hi
The command in the book (as root):
-----
mysqladmin -u root password
-----
returns:
-----
mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user 'root'@'localhost' (using password: YES)'
-----
I already had an existing database with a root password. When updating
mariadb to 10.1.21, using 'mysqladmin -u root password' failed for me also
with the message above. However, using:
sudo mysqladmin -u root -p password
and entering the old password, it allowed me to change it.
-- Bruce
--
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page