修改数据库密码:
vi /etc/myql/my.conf
添加:
[mysqld]
skip-grant-tables
进入数据库:update user set password=password('123') where user = 'root'and host='localhost'
树梅派:mysql密码123
修改数据库密码:
vi /etc/myql/my.conf
添加:
[mysqld]
skip-grant-tables
进入数据库:update user set password=password('123') where user = 'root'and host='localhost'
树梅派:mysql密码123