Hola necesito ayuda, intento instalar mysql server pero nunca me permite ingresar (la interfaz grafica de mysql workbench no me interesa tanto ya que es eso solo una interfaz). Pero necesito la ayuda para instalarlo desde 0 (el servidor la versión actual.) para ver si tuve un error. Gracias.
(English Version).
Hi I need help, I try to install mysql server but it never allows me to login (the graphical interface of mysql workbench does not interest me so much as it is just an interface). But I need help to install it from 0 (the server the current version.) to see if I had a mistake. Thank you.
One place where many falls short is the root password - I know I did back then - the root password in context of mariadb is not the system root password but the dbserver’s root - and when queried the first time - the password is empty.
Quotes from the wiki page
Installmariadb, and run the following command before starting the mariadb.service:
The mysql_secure_installation command will interactively guide you through a number of recommended security measures, such as removing anonymous accounts and removing the test database:
Sure, but I am installing mysql server, not mariadb, and the password happens as such, I put the “temporary” password, I put the new one, but when I use “mysql -u root -p” I get an error, which I try to install “ncurses5-compat-libs” and it still gives me error in “/configure line 30735: make: command not fund. Error: a failure occurred in build().”
OK OK, and with mariadb, how can I link the workbench interface to it ?
for mariadb I could install and use it but I have no graphical interface, and I would like to use workbench.
harden install (part of this is denying root login)
mysql_secure_installation
create a user (example from wiki) - to create a sysadmin like user change mydb.* to *.*
# mysql -u root -p
MariaDB> CREATE USER 'monty'@'localhost' IDENTIFIED BY 'some_pass';
MariaDB> GRANT ALL PRIVILEGES ON mydb.* TO 'monty'@'localhost';
MariaDB> FLUSH PRIVILEGES;
MariaDB> quit
switch out of the root account
exit
Done
Since Mariadb reports database v10 - Mysql Workbench will complain as the version is newer than anything it knows of - this shouldn’t matter.
This is a missing keyring
This is not needed for mariadb. This is only needed for building mysql from AUR - and the requirements are usually fetched automagically by pamac.
I installed everything again, from 0 mariadb and workbench but workbench keeps giving me the “Store Password” problem.
Could not store password: The name org.freedesktop.secrets was not provided by any .service file".
provided by any .service file".