PostgreSQL数据管理
备份全部数据:#cd /usr/local/pgsql/bin /usr/local/pgsql/bin/pg_dumpall -U postgres > /root/pgall.sql 恢复全部数据:/usr/local/pgsql/bin/psql -U postgres -f /root/pgall.sql 备份单个数据库/usr/local/pgsql/bin/pg_dump -U
备份全部数据:#cd /usr/local/pgsql/bin /usr/local/pgsql/bin/pg_dumpall -U postgres > /root/pgall.sql 恢复全部数据:/usr/local/pgsql/bin/psql -U postgres -f /root/pgall.sql 备份单个数据库/usr/local/pgsql/bin/pg_dump -U
Oracle数据库管理员密码重置windows+R 组合键打开命令提示符 输入cmdset oracle_sid=XXX "XXX就是当前数据库SID" sqlplus /nolog conn /as sysdba ALTER USER sys IDENTIFIED BY ora123; 或者:1.启动sqlplus2.请输入用户名: sqlplus/as sysdb