Jump to content
Forums in Read-Only Mode - Please use Reddit ×
  • 0

[solved] emerge mariadb


donjames

Question

Help!

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?

 

Thanks,

 

Don James

Edited by donjames
solved
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.

Sincerely,

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 New...