localhost php myadmin error

ane kan pake xampp, terus tadi abis intall mysql dari mysql.com, abis itu ane install, setiap ada suruh isi username sama password ane isi root, dan ternyata ane nginstall di port 3306 kaya mysql yg di xampp, ane ganti port xampp mysql ke 3307 dari file my.ini dan config xampp nya keluarnya kaya gini

tulisan error nya


 mysqli_real_connect(): The server requested authentication method unknown to the client [caching_sha2_password]

 mysqli_real_connect(): (HY000/2054): The server requested authentication method unknown to the client
Connection for controluser as defined in your configuration failed.
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.


abis itu ane coba dari file config.inc.php ane coba ganti jadi


$cfg['Servers'][$i]['auth_type'] = 'config'; // udh nyoba ane ganti http
$cfg['Servers'][$i]['user'] = 'root';
$cfg['Servers'][$i]['password'] = 'root';  //ane isi jadi root tadinya kosong
$cfg['Servers'][$i]['extension'] = 'mysqli';
$cfg['Servers'][$i]['AllowNoPassword'] = true;
$cfg['Lang'] = '';

tetep keluar error nya, pas auth type ane ganti http, masukin username sama password "root","root" atau "root","" tetep ga bisa

ane nyoba cara dari yutup ganti port apache ke 10080 malah ga bisa local hostnya,

ane mau nyoba antara 1. cari cara reset username sama pass phpmyadmin 2. uninstall xampp sama mysql yg dari mysql.com dari mysql workbenh,server dll, terus install lg xampp nya.

yg mana kira2 bisa gan ? apa ada solusi lain ? ane pengen nyoba otak atik dulu takut tambah error soalnya lg butuh banget main sama phpmyadmin soalnya :(

avatar Holmes25
@Holmes25

8 Kontribusi 2 Poin

Dipost 5 tahun yang lalu

1 Jawaban:

sementara sudah teratasi hehe :D, service mysql nya ane stop lalu yg di xampp ane balikin ke 3306

avatar Holmes25
@Holmes25

8 Kontribusi 2 Poin

Dipost 5 tahun yang lalu

Login untuk ikut Jawaban