ALTER USER 'root'@'%' IDENTIFIED BY 'pwd' PASSWORD EXPIRE NEVER;
ALTER USER 'root'@'%' IDENTIFIED WITH mysql_native_password BY 'pwd';
FLUSH PRIVILEGES;
...继续阅读
(9)
su – postgres pgsql \l 列出数据库 \du 列出用户 \q 退出窗口 su – postgres pgsql select usename,passwd from pg_shadow; ALTER USER demo with password ‘demo12345678’; 或创建用户 CREATE USER demo WITH PASSWORD &Continue Reading
...继续阅读
(29)