Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 689488

Summary: dev-db/mariadb-10.2.22-r1: unable to configure mariadb with an empty root password
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Gentoo Linux MySQL bugs team <mysql-bugs>
Status: CONFIRMED ---    
Severity: normal CC: hydrapolic
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Agostino Sarubbo gentoo-dev 2019-07-08 13:28:41 UTC
my.cnf:

!includedir /etc/mysql/mariadb.d

[client]
user=root
password=
pager = less -Sin

# emerge --config mariadb

Configuring pkg...

 * Trying to get password for mysql 'root' user from 'mysql' section ...
 * Trying to get password for mysql 'root' user from 'client' section ...
 * Found password in 'client' section!
 * Please provide a password for the mysql 'root' user now
 * or through the /root/.my.cnf file.
 * Avoid ["'\_%] characters in the password
    >


It says "Found password in 'client' section!" but I got a prompt to insert a password.
This does not happen if the password in my.cnf is not blank.