Answer the question
In order to leave comments, you need to log in
Why can't phpmyadmin see mysql password?
Installed mysql MariaDb
mysql Ver 15.1 Distrib 10.1.26-MariaDB, for debian-linux-gnu (x86_64) using readline 5.2
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
[mysqld]
plugin-load-add = auth_socket.so
sudo mysql -u root
use mysql;
update user set plugin='' where User='root';
flush privileges;
exit
Answer the question
In order to leave comments, you need to log in
Found a solution, installed mysql and phpmyadmin.
clean removal of mariaDB UBUNTU
(paths and commands may differ for Debian)
sudo apt-get --purge remove mariadb*
sudo apt-get autoremove
sudo apt-get autoclean
/var/lib/dpkg/info
sudo apt-get --purge remove mysql*
sudo apt-get autoremove
sudo apt-get autoclean
/var/lib/dpkg/info
nothing left in it - /etc/mysql
/var/lib/mysql
ATTENTION all your databases are stored here so if you need to leave them - rename the folder and after installing mysql copy it to a new one - ONLY those that you created yourself (without system ones) /etc/apt/sources.list
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install phpmyadmin
(if necessary) Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question