filmov
tv
Xampp MySQL said Cannot connect invalid settings error | Phpmyadmin
Показать описание
Xampp MySQL said Cannot connect invalid settings error while accessing Phpmyadmin
MySQL said:
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.
1.Goto local-disk (c) - Xampp - Phpmyadmin
3.Goto the below 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'] = '';
4.Change the settings from 'config' to 'http' on the line $cfg['Servers'][$i]['auth_type'] = 'config';
5. Now set any name for the the line $cfg['Servers'][$i]['password'] = '';
Example:- $cfg['Servers'][$i]['password'] = 'test';
7.Now load your web-browser
8.A box will pop-up asking for Authentication using username and password
Type the username as “root” password as “test”
9.That's it
MySQL said:
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.
1.Goto local-disk (c) - Xampp - Phpmyadmin
3.Goto the below 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'] = '';
4.Change the settings from 'config' to 'http' on the line $cfg['Servers'][$i]['auth_type'] = 'config';
5. Now set any name for the the line $cfg['Servers'][$i]['password'] = '';
Example:- $cfg['Servers'][$i]['password'] = 'test';
7.Now load your web-browser
8.A box will pop-up asking for Authentication using username and password
Type the username as “root” password as “test”
9.That's it
Комментарии