摘要: 1. 问题描述 使用MySQL8.0.30创建主从,启动从库的时候报错: Last_IO_Errno:2061 Last_IO_Error:error connecting to mater 'repl@xxxxx:3308' - retry-time:60 retries:1 massage:Au 阅读全文
posted @ 2024-06-25 13:24 DBer_ablewang 阅读(19) 评论(0) 推荐(0) 编辑
摘要: 1. 服务器配置检查列表 1) 检查/tmp目录,至少需要400MB空间 2) 检查swap分区 256 MB: 3 times the size of RAM Between 256 MB and 512 MB: 2 times the size of RAM Between 512 MB and 阅读全文
posted @ 2024-06-25 13:21 DBer_ablewang 阅读(1) 评论(0) 推荐(0) 编辑
摘要: with aa as (SELECT IID, USERNAME, to_char(BEGIN_TIME,'mm/dd hh24:mi') begin_time, SQL_ID, decode(COMMAND_TYPE,3,'SELECT',2,'INSERT',6,'UPDATE',7,'DELE 阅读全文
posted @ 2024-06-25 13:15 DBer_ablewang 阅读(1) 评论(0) 推荐(0) 编辑
摘要: 1. 问题描述 [oracle@servername db]$ OPatch/opatch version OPatch/opatch: line 839: [: too many arguments OPatch/opatch: line 839: [: too many arguments Ja 阅读全文
posted @ 2024-06-25 13:13 DBer_ablewang 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 1. Oracle手工删除数据库 1) 关闭数据库 su - oracle sqlplus / as sysdba select name from v$database; shutdown immediate; 2) 删除文件 RACLE_BASE=/u01/app/oracle ORACLE_H 阅读全文
posted @ 2024-06-25 13:08 DBer_ablewang 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 安装依赖包 su - root yum -y install unzip yum -y install binutils.x86_64 yum -y install gcc.x86_64 yum -y install gcc-c++.x86_64 yum -y install glibc.i686 阅读全文
posted @ 2024-06-25 11:43 DBer_ablewang 阅读(1) 评论(0) 推荐(0) 编辑
摘要: 1. 创建存储过程 此脚本会在“master”数据库中创建两个存储过程。 过程命名为 sp_hexadecimal 和 sp_help_revlogin。 USE [master] GO IF OBJECT_ID ('sp_hexadecimal') IS NOT NULL DROP PROCEDU 阅读全文
posted @ 2024-06-25 11:29 DBer_ablewang 阅读(1) 评论(0) 推荐(0) 编辑
摘要: Linux 用户空间审计系统由 auditd、audispd、auditctl、autrace、ausearch 和 aureport 等应用程序组成。下面依次说明: auditctl : 即时控制审计守护进程的行为的工具,如添加规则等。 auditd :audit 守护进程负责把内核产生的信息写入 阅读全文
posted @ 2024-06-25 11:14 DBer_ablewang 阅读(2) 评论(0) 推荐(0) 编辑
摘要: APPLIES TO: MySQL Server - Version 8.0 and later Information in this document applies to any platform. GOAL Change the value of lower_case_table_names 阅读全文
posted @ 2024-06-25 11:09 DBer_ablewang 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 简介 在Linux操作系统中,fuser是一个命令行工具,用于查找并显示使用指定文件、文件系统或套接字的进程的情况。它可以帮助a56爆大奖在线娱乐们找出哪些进程占用了某个文件或目录,以便a56爆大奖在线娱乐们能够进行相关操作,比如杀死这些进程或释放对应的资源。 命令语法 fuser命令的基本语法如下: fuser [选项] 文件或目录 阅读全文
posted @ 2024-06-25 10:54 DBer_ablewang 阅读(3) 评论(0) 推荐(0) 编辑