The login details will usually be the mysql/mariadb user and password that you set up to access the database(s).
You can get a list of users from the database, but not the unencrypted password.
As superuser type "mysql mysql" to get the DB prompt (or "sudo mysql" as a normal user)Then type "select user, host from user;" which will give you a list something like thisHopefully that will jog your memory when it comes to passwords.
You can get a list of users from the database, but not the unencrypted password.
As superuser type "mysql mysql" to get the DB prompt (or "sudo mysql" as a normal user)
Code:
MariaDB [mysql]>Code:
MariaDB [mysql]> select user, host from user;+-------------+-----------+| User | Host |+-------------+-----------+| ron | % || sid | % || meg | % || mariadb.sys | localhost || mysql | localhost || root | localhost |+-------------+-----------+6 rows in set (0.004 sec)Statistics: Posted by rpdom — Sat Mar 22, 2025 1:18 pm