标签: php mysql
当我尝试连接数据库时,php向我显示此错误
$bdd=new PDO('mysql:host=localhost;dbname=php','root','Projet_');
我尝试过
ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'Projet_';
但是它给了我mysql错误1805预期51在mysql.user中找到48