Answer the question
In order to leave comments, you need to log in
How to login to phpmyadmin?
Greetings.
There was a problem with phpmyadmin
Installed LAMP
Apache, mysql, php - plow. Checked.
localhost/phpmyadmin/index.php renders a login form.
He swears at the login / password from the database with the words ' #1698 - Access denied for user 'root'@'localhost' '
Quietly lets into the database.
On the forums I read about decommissioning and changing the variable in the config.inc.php file in the line $cfg['Servers'][$i]['AllowNoPassword'] = true; (login without a password is allowed).
As already just did not conjure - there is no sense.
mysql -h localhost -u 'nameuser' -ppassword
Answer the question
In order to leave comments, you need to log in
(laugh). The question is closed.
Go to /etc/dbconfig-common/phpmyadmin.conf Look
for lines
# dbc_dbuser: database user
# the name of the user who we will use to connect to the database.
dbc_dbuser='phpmyadmin'
# dbc_dbpass: database user password
# the password to use with the above username when connecting
# to a database, if one is required
dbc_dbpass='some_pass'
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question