gpt4 book ai didi

php - 服务器请求客户端未知的身份验证方法

转载 作者:行者123 更新时间:2023-12-05 00:05:10 24 4
gpt4 key购买 nike

<分区>

尝试从命令行执行 PHP 脚本,它给了我这个:

c:\tubekit>php harvestYTVideos.php mylist.txt

PHP Warning: mysqli_connect(): The server requested authentication method unknown to the client [mysql_old_password] in C:\tubekit\connect.php on line 13

Warning: mysqli_connect(): The server requested authentication method unknown to the client [mysql_old_password] in C:\tubekit\connect.php on line 13 PHP Warning: mysqli_connect(): (HY000/2054): The server requested authentication method unknown to the client in C:\tubekit\connect.php on line 13

Warning: mysqli_connect(): (HY000/2054): The server requested authentication method unknown to the client in C:\tubekit\connect.php on line 13 PHP Warning: mysqli_error() expects exactly 1 parameter, 0 given in C:\tubekit\connect.php on line 13

Warning: mysqli_error() expects exactly 1 parameter, 0 given in C:\tubekit\connect.php on line 13 Cannot connect to the database:

这是它所指的行

$dbh = mysqli_connect("$host","$username","$password") or die("Cannot connect to the database: ". mysqli_error());

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com