S
S
Sanzhar Bazarbek2021-06-27 13:40:55
PHP
Sanzhar Bazarbek, 2021-06-27 13:40:55

How to fix phpmyadmin login error?

I wanted to connect the database to an existing site, downloaded PMA from the official site I
went to the link: localhost:8000/pma/index.php
Everything is fine, but I didn’t know what login and password, googled - they said that usually root without a password

I tried it, got out mistake:

mysqli::real_connect(): (HY000/2002): No such file or directory

Fixed by changing
$cfg['Servers'][$i]['AllowNoPassword'] = false;
on the
$cfg['Servers'][$i]['AllowNoPassword'] = true;


Now, got a new error and don't know how to fix it:
mysqli::real_connect(): (HY000/2002): Connection refused

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
DevMan, 2021-06-27
@Rezvor

pma is just a face to mysql. it is generally not particularly interesting, and without muscle - stupidly useless.
put yourself a muscle.

D
Dmitry Gadzhiev, 2021-06-27
@gds1

Default or root without password, or mysql\mysql

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question