上一页 1 2 3 4 5 6 7 8 9 10 ··· 17 下一页
摘要: 背景: 导出数据库test库的test表数据出现报错信息:mysqldump: [ERROR] unknown variable 'database=test'. 原来是my.cnf参数文件配置了以下内容: [client] user=test port=3306 database=test 将da 阅读全文
posted @ 2020-12-08 17:47 orcl 阅读(1428) 评论(0) 推荐(0) 编辑
摘要: mysql数据库长时间未操作自动断开连接由参数:interactive_timeout和wait_timeout控制,默认都是8小时(28800分钟) mysql> show variables like '%timeout%'; + + + | Variable_name | Value | + 阅读全文
posted @ 2020-12-08 16:43 orcl 阅读(2665) 评论(1) 推荐(1) 编辑
摘要: [postgres@pg01 ~]$ psql -Upostgres -dpostgres postgres=# alter user postgres with password 'postgres'; ALTER ROLE 登录测试: [postgres@pg02 ~]$ psql -h 192 阅读全文
posted @ 2020-11-24 18:04 orcl 阅读(932) 评论(0) 推荐(0) 编辑
摘要: [root@node01 yum.repos.d]# yum install -y net-tools Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile Resolving Dependencies -- 阅读全文
posted @ 2020-11-18 17:38 orcl 阅读(6940) 评论(0) 推荐(0) 编辑
摘要: 原因: libclntsh.so.11.1文件丢失了 解决方法: 在其他机器把这个文件拷贝到目标库安装目录底下的lib目录即可 阅读全文
posted @ 2020-11-13 22:42 orcl 阅读(555) 评论(0) 推荐(0) 编辑
摘要: 一、停库修改数据文件目录、文件名 1、当前数据文件目录 SQL> select tablespace_name,file_name from dba_data_files; TABLESPACE_NAME FILE_NAME PAR /u01/app/oracle/oradata/orcl/par0 阅读全文
posted @ 2020-11-12 18:00 orcl 阅读(1284) 评论(0) 推荐(0) 编辑
摘要: [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 阅读全文
posted @ 2020-11-12 15:25 orcl 阅读(2934) 评论(0) 推荐(0) 编辑
摘要: 1、修改参数文件添加以下内容 skip-grant-tables 2、关闭数据库 [root@node01 ~]# /etc/init.d/mysqld8 stop Shutting down MySQL. SUCCESS! 3、重启数据库 [root@node01 ~]# /etc/init.d/ 阅读全文
posted @ 2020-11-12 10:10 orcl 阅读(75) 评论(0) 推荐(0) 编辑
摘要: 一、主从同步报错 mysql> show slave status\G; *************************** 1. row *************************** Slave_IO_State: Waiting for master to send event M 阅读全文
posted @ 2020-11-04 14:58 orcl 阅读(1189) 评论(0) 推荐(0) 编辑
摘要: 升级前准备: [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> 阅读全文
posted @ 2020-11-03 17:31 orcl 阅读(181) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 10 ··· 17 下一页