Mobile app version of vmapp.org
Login or Join
Berryessa370

: Can not access phpMyAdmin I tried to access phpMyAdmin but I get an error. Cannot connect: invalid settings. phpMyAdmin tried to connect to the MySQL server, and the server rejected the

@Berryessa370

Posted in: #Mysql

I tried to access phpMyAdmin but I get an error.


Cannot connect: invalid settings.
phpMyAdmin tried to connect to the MySQL server, and the server rejected the connection. You should check the host, username and password in your configuration and make sure that they correspond to the information given by the administrator of the MySQL server.

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Berryessa370

1 Comments

Sorted by latest first Latest Oldest Best

 

@Barnes591

Are you have start the phpmyadmin service ?
If you are using xampp, check the phpmyadmin configuration:


C:xamppphpMyAdmin
open and edit config.inc.php with your text editor


Look at this line:


/* Authentication type and info */
$cfg['Servers'][$i]['auth_type'] = 'config';
$cfg['Servers'][$i]['user'] = 'root';
$cfg['Servers'][$i]['password'] = '';
$cfg['Servers'][$i]['extension'] = 'mysqli';
$cfg['Servers'][$i]['AllowNoPassword'] = true;
$cfg['Lang'] = '';

/* Bind to the localhost ipv4 address and tcp */
$cfg['Servers'][$i]['host'] = '127.0.0.1';
$cfg['Servers'][$i]['connect_type'] = 'tcp';


In this configuration, the username is "root" and password is empty, hosted on 127.0.0.1

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme