Jump to content
Read the Funtoo Newsletter: Summer 2023 ×
  • 0

[solved] emerge mariadb




I am trying to get mariadb up and running.  It installs and I can run mysql, but the 

emerge ---config dev-db/mariadb exits with the following error:

"Failed to initialize mysqld"

Even though I can start the database with "/etc/init.d/mysql start",  I can't access it because the config failed and it doesn't have my password.

Can someone give me a hint about what is going wrong here?




Don James

Edited by donjames
Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

Okay.  I finally got mariadb to work.

1) Deleted all of the flags recommended by https://wiki.gentoo.org/wiki/MariaDB

2) Ran

USE="-client-libs" emerge -v mariadb

3) Ran

emerge --config =dev-db/mariadb-10.2.14

4) /etc/init.d/mysql start

It works!

Thanks to everyone for your help and suggestions.


Don James


Link to comment
Share on other sites

  • 0

Here's what I did:

1) /etc/init.d/mysql start

It didn't start because there was no mysql database installed.

2) emerge --config dev-db/mariadb

Asked for password and created the mysql database.  It then exited with error: "Installation of system tables failed!

3)/etc/init.d/mysql start

mysql starts, but I can't access the database.

mysql -u root -p gives an error.  It won't accept the password that I entered earlier.



Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...