Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8041

Beginners • Re: phpmyadmin logon

$
0
0
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)

Code:

MariaDB [mysql]>
Then type "select user, host from user;" which will give you a list something like this

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)
Hopefully that will jog your memory when it comes to passwords.

Statistics: Posted by rpdom — Sat Mar 22, 2025 1:18 pm



Viewing all articles
Browse latest Browse all 8041

Trending Articles