11 2020 档案
摘要:[postgres@pg01 ~]$ psql -Upostgres -dpostgres postgres=# alter user postgres with password 'postgres'; ALTER ROLE 登录测试: [postgres@pg02 ~]$ psql -h 192
阅读全文
摘要:[root@node01 yum.repos.d]# yum install -y net-tools Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile Resolving Dependencies --
阅读全文
摘要:原因: libclntsh.so.11.1文件丢失了 解决方法: 在其他机器把这个文件拷贝到目标库安装目录底下的lib目录即可
阅读全文
摘要:一、停库修改数据文件目录、文件名 1、当前数据文件目录 SQL> select tablespace_name,file_name from dba_data_files; TABLESPACE_NAME FILE_NAME PAR /u01/app/oracle/oradata/orcl/par0
阅读全文
摘要:[root@node01 yum.repos.d]# yum intall -y sysstat Loaded plugins: fastestmirror No such command: intall. Please use /usr/bin/yum --help [root@node01 yu
阅读全文
摘要:1、修改参数文件添加以下内容 skip-grant-tables 2、关闭数据库 [root@node01 ~]# /etc/init.d/mysqld8 stop Shutting down MySQL. SUCCESS! 3、重启数据库 [root@node01 ~]# /etc/init.d/
阅读全文
摘要:一、主从同步报错 mysql> show slave status\G; *************************** 1. row *************************** Slave_IO_State: Waiting for master to send event M
阅读全文
摘要:升级前准备: [root@node01 ~]# mysql -V mysql Ver 14.14 Distrib 5.7.25, for linux-glibc2.12 (x86_64) using EditLine wrapper # 进入原5.7 mysql命令行 正确关闭数据库 mysql>
阅读全文