基于debian 9php
maridb 10html
由于安装 时不知道 密码,因此在管理中下使用mysql
mysqladmin -u root -p password ex(ex为密码)sql
如何设置完后仍是提示错误 。则用下数据库
update user set authentication_string =password('你的密码'),plugin='mysql_native_password' where user='root'工具
密码是用外挂管理的,这块要改为mysql_native_password 默认用的多是auto_socker,spa
改完,flush privileges; htm
便可,本人使用的数据库管理工具为phpmyadminblog