mysql replication 中slave机器上有两个关键的进程,死一个都不行,
一个是slave_sql_running,
一个是Slave_IO_Running,
一个负责与主机的io通信,
一个负责自己的slave mysql进程。此次出现的问题,是因为服务器重启导致,先到主库mysql> show master status;
+------------------+----------...
2024-10-21 /
795 次浏览 /
Win技术
CentOS 6
cd /etc/cron.daily
grep '10d' tmpwatch
sed -i 's#10d#30d#g' tmpwatch
cat tmpwatch
CentOS 7
grep '10d' /usr/lib/tmpfiles.d/tmp.conf ...
在 Python 开发中,pip 是用于安装和管理 Python 包的工具。有时候,我们可能需要从文件中批量安装 Python 包,或者安装特定版本的包。这种情况下,我们可以使用 pip 的相关命令来完成。使用 requirements.txt 文件安装模块requirements.txt 是一个文本文件,其中列出了要安装的 Python 包的名称和版本号。我们可以使用 pip 的 -r 参数和 requirements.txt 文件来...
找到论坛对应模版
template/default/forum/discuz.htm
操作之前要备份
cp discuz.htm{,.ori}
然后搜索showoldetails=yes#online
或者定位到这行,大概514行
删除此行,在刷新即可...
2024-09-18 /
426 次浏览 /
程序技术
# 安装编译工具和依赖
yum install gcc make zlib-devel
# 下载 OpenSSL 源代码
cd /usr/local/src
wget https://www.openssl.org/source/openssl-1.0.2k.tar.gz
tar -zxvf openssl-1.0.2k.tar.g...
strings /lib64/libc.so.6 |grep GLIBC
mkdir -p /soft/glibc-2.15/build
cd /soft/glibc-2.15/
wget http://ftp.gnu.org/gnu/glibc/glibc-2.15.tar.gz
tar xzvf glibc-2.15.tar.gz
cd /soft/glibc-2...
mysql> create user 'shnne'@'localhost' identified by 'shnne123';ERROR 1805 (HY000): Column count of mysql.user is wrong. Expected 45, found 43. The table is probably corrupted解决办法:/usr/bin/mysql_upgrade -uro...
2024-08-21 /
426 次浏览 /
数据库教程
MySQL 还原数据库出现ERROR 1418 (HY000) at line 16124: This function has none of DETERMINISTIC, NO SQL, or READS SQL DATA in its declaration and binary logging is enabled (you *might* want to use the less safe log_bin_trust_function_creators variab...
2024-08-20 /
479 次浏览 /
数据库教程
1、配置环境安装一些基础环境yum install -y curl policycoreutils-python openssh-server cronie添加源curl https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.rpm.sh | sudo bash安装 GitLab CE 版本,运行命令就可以开始自动部署 yum install -y gitlab-ce(主线...
1、(电脑版)使用FTP打开根目录/template/您的模板/member/register.htm(手机版)使用FTP打开根目录/template/您的模板/touch/member/register.htm2、查找<div class="loginbox registerbox">,或在合适的位置3、在前一行插入<!--{hook/register_top_mobile}-->然后保存即可...
2024-08-07 /
292 次浏览 /
程序技术