Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 689488 - dev-db/mariadb-10.2.22-r1: unable to configure mariadb with an empty root password
Summary: dev-db/mariadb-10.2.22-r1: unable to configure mariadb with an empty root pas...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux MySQL bugs team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-07-08 13:28 UTC by Agostino Sarubbo
Modified: 2019-10-17 15:40 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.