---
# System prepended metadata

title: 'mysqli::real_connect(): (HY000/2054): The server requested authentication method unknown to the client'
tags: [phpMyAdmin]

---

# mysqli::real_connect(): (HY000/2054): The server requested authentication method unknown to the client

###### tags: `phpMyAdmin`

* OS：macOS Catalina 10.15.6
* MySQL：mysql-8.0.21-macos10.15-x86_64 ([Ref.](https://dev.mysql.com/downloads/mysql/))
* phpMyAdmin：phpMyAdmin-5.0.2-all-languages ([Ref.](https://www.phpmyadmin.net/downloads/))
* PHP：7.3.11

My Solution
---
* Login MySQL
* Type the following


``` php
ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'password';
```
