---
title: "Discussion on \"To resolve MySQL 8.0 - Client does not support authentication protocol requested by server; consider upgrading MySQL client\" | Hashnode"
description: "Discussion on \"To resolve MySQL 8.0 - Client does not support authentication protocol requested by server; consider upgrading MySQL client\". If you want to have a fix for it, install and use mysql2 (instead of mysql) and use: \nnpm un mysql && npm i mysql2\nand\n mysql = require('mysql2');"
url: "https://hashnode.com/posts/to-resolve-mysql-80-client-does-not-support-authentication-protocol-requested-by-server-consider-upgrading-mysql-client/6192c8f3fd3a1a5a01a890cf"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [To resolve MySQL 8.0 - Client does not support authentication protocol requested by server; consider upgrading MySQL client](https://sarashahin.hashnode.dev/to-resolve-mysql-80-client-does-not-support-authentication-protocol-requested-by-server-consider-upgrading-mysql-client?utm_source=hashnode&utm_medium=feed)

If you want to have a fix for it, install and use mysql2 (instead of mysql) and use: npm un mysql && npm i mysql2 and mysql = require('mysql2');

Nov 15, 2021 · 1 min read · sarashahin.hashnode.dev  
Read the article

-   [#mysql](https://hashnode.com/tag/mysql)
-   [#npm](https://hashnode.com/tag/npm)
-   [#nodejs](https://hashnode.com/tag/nodejs)

## Written by

[Sara](https://hashnode.com/@Sarashahin)

@Sarashahin

  
[View profile](https://hashnode.com/@Sarashahin)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
