Answer the question
In order to leave comments, you need to log in
How to install phpmyadmin with all privileges?
I install on my server everything that is needed for the site to work (PHP, MYSQL, phpmyadmin)
sudo tasksel install lamp-server
sudo apt-get install php7.1-mbstring
sudo apt-get install php7.1-mcrypt
sudo phpenmod mbstring
sudo phpenmod mcrypt
sudo apt-get install phpmyadmin
Answer the question
In order to leave comments, you need to log in
sudo mysql_secure_installation
then N (No)
then set the PASSWORD (I don’t remember exactly, but there may be a second request to confirm the password - enter again)
then Y (Yes) 4 times, that is, until the questions run out, answer all Y
sudo mysql
alter user 'root'@'localhost' identified with mysql_native_password by 'ПАРОЛЬ';
flush privileges;
exit;
Try it through the terminal and you can also bring the php configuration file to do this:
# Automatically generated for Debian scripts. DO NOT TOUCH!
[client]
host = localhost
user = root
password =
socket = /var/run/mysqld/mysqld.sock
[mysql_upgrade]
host = localhost
user = root
password =
socket = /var/run/mysqld/mysqld.sock
basedir = /usr
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question