Trying to execute a PHP script from the command line and it's giving me this:
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:
This is the line it's referring to
$dbh = mysqli_connect("$host","$username","$password") or die("Cannot connect to the database: ". mysqli_error());