donjames Posted June 8, 2018 Report Share Posted June 8, 2018 (edited) 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 June 14, 2018 by donjames solved Link to comment Share on other sites More sharing options...
0 donjames Posted June 12, 2018 Author Report Share Posted June 12, 2018 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 More sharing options...
0 AdiosKid Posted June 10, 2018 Report Share Posted June 10, 2018 do you start the service before config ? Link to comment Share on other sites More sharing options...
0 donjames Posted June 11, 2018 Author Report Share Posted June 11, 2018 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 More sharing options...
0 AdiosKid Posted June 11, 2018 Report Share Posted June 11, 2018 clean the database folder on /var/lib/mysql and try again. Link to comment Share on other sites More sharing options...
Question
donjames
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 donjamessolved
Link to comment
Share on other sites
4 answers to this question
Recommended Posts