I am unable to connect to my MySQL in xampp I have this error:
MySQL said: Documentation
1045 - Access denied for user \'root\'@\'localhost\'
@guzuer
Change the value of
$cfg['Servers'][$i]['user'] = 'groot';
$cfg['Servers'][$i]['password']='groot';
in your ~/xampp/phpMyAdmin/config.inc.php
Here my username is groot and password is groot.
At the time of writing this answer, I had this issue and i fixed it by looking up your question.
Edit the file xampp/mysql/bin/my.ini
Add
skip-grant-tables
under [mysqld]
Check /etc/phpmyadmin/config-db.php file
Please run and re reconfigure your phpmyadmin
sudo dpkg-reconfigure phpmyadmin
Go got XAMPP->mysql->bin->my.ini
open the file with an editor and add 'skip-grant-tables' after mysql.
$cfg['Servers'][$i]['auth_type'] = 'HTTP';
$cfg['Servers'][$i]['user'] = 'root';
$cfg['Servers'][$i]['password'] = '1234';
This solves my problem too. It just logs in automatically.