Error 2054 Server sent charset unknown to the client.
I can't solve the problem despite several attempts, what am I doing wrong?
I use the following;
Version of PHP, PHP 7.4.6.
Version of mySQL, Server version: 8.0.20 MySQL Community Server - GPL.
Operating system, Windows 10.
Web Server, IIS (Version 10.0.18362.1)
I have used, mysql> ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY '*********';
With the result, Query OK, 0 rows affected (0.01 sec)
Have the following code line in my PHP, $link = mysqli_connect($host, $user, $password, $dbname);
Can anyone explain to me what is wrong and what to do to solve the problem?