samedi 25 juin 2016
What is the password entered during phpMyAdmin used for
I'm installing LAMP and don't understand the difference and/or use of the MySQL password v the phpMyAdmin password as entered during their respective installations. On the first dev box I built years ago I did this:
Installing MySQL I enter a password of 'pwd01'
Installing phpMyAdmin I enter a password of 'pwd01'
...And I could log into mysql as root/pwd01 and phpMyAdmin as root/pwd01 (i.e., the same password). That made sense. Given at the moment the only user configured in mysql is root/pwd01, phpmyadmin would have to use this to gain access. So what is the pwd02 password used for?
On the new dev box I'm building today I'm doing this:
Installing MySQL I enter a password of 'pwd01'
Installing phpMyAdmin I enter a password of 'pwd02'
... And I expected I would need to log into mysql with root/pwd01 and phpmyadmin with root/pwd02. But that is not the case. The login for phpmyadmin is still root/pwd01.
So my question is: How are the passwords being used? Is the pwd02 password silently used by phpmyadmin to connect to mysql and then pwd01 is used to access the databases? That doesn't really make sense to me.
(installation is on GNOME Ubuntu 16.04 using most recent versions of mysql and phpmyadmin)
Inscription à :
Publier les commentaires (Atom)
Aucun commentaire:
Enregistrer un commentaire