I just installed phpmyadmin and i am trying to login in /phpmyadminpath/setup.
I am greeted by an invite similar to an apache protected folder (log/password displayed in a browser pop-up, not an html popup) asking for login pass.
I cannot login using system password(root) or mysql passsword(also root)
I already have rails app using this mysql, and i checked the mysql password in the config files.
The root folder of phpmyadmin is a totally blank page.
I cannot run any mysql command in my console because of the following error :
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
What is wrong with phpmyadmin and mysql?
While uninstalling phpmyadmin with apt-get i encountered the following error :
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
Is it a wrong root password ? How can root not be allowed to do something?
So i tried a few thing :
Set ALL phpmyadmin folders to belong to www-data use. Set php.ini to display all errors and setting errors to alway display at the start of index.php of my phpmyadmin folder.
sudo dpkg-reconfigure phpmyadmin
but it fails to connect to mysql, in TCP/IP and in socket (i have running rails apps using mysql, i can login in console using a PW and see my DBs).
I have restarted mysql to change password.
I added a phpinfo test page in phpmyadmin, i can see the whole page with php infos.
phpmyadmin still display a blank page with it's favicon.
apache2 errors logs are empty