Re: mariadb need additional cmake options to fit the mariadb user and group
| Newsgroups | gmane.linux.lfs.beyond.devel |
|---|---|
| Message-ID | <[email protected]> |
On 1/24/25 6:49 AM, Zhang Wen ([email protected] via blfs-dev Mailing List) wrote: > We changed username used by mariadb from mysql to mariadb on 11.4.3 > update, but the mariadbd-safe script is still using mysql user, which > is causing issues trying to reset the root password of mariadb. > This is controled by the MYSQLD_USER and MYSQLD_GROUP cmake options. > Hi Zhang, I tried to reproduce this and couldn't unfortunately. The book currently has: "mariadbd-safe --user=mariadb 2>&1 >/dev/null &" as the command to start the MariaDB server, which matches with the mariadb user that we created earlier on the page. I was able to use the commands in the book currently to setup a new database and then change the password for it! Can you verify that the commands that you're using match what is in the book, and verify your configuration? Thank you, - Doug -- http://lists.linuxfromscratch.org/sympa/info/blfs-dev Unsubscribe: See the above information page