摘要:
报错一: [root@hwuat-starrocks-be-0003 be]# docker-compose up -d ERROR: Version in "./docker-compose.yaml" is unsupported. You might be seeing this error 阅读全文
posted @ 2025-06-16 15:00
屠魔的少年
阅读(107)
评论(0)
推荐(0)
摘要:
以 starrocks-cluster-sync 为例,先下载镜像 docker pull potatoplay/starrocks-cluster-sync 1、如何把容器内目录挂载出来 容器内目录为: /opt/starrocks-cluster-sync/log 现在想把容器内目录挂载到宿主机 阅读全文
posted @ 2025-06-16 14:57
屠魔的少年
阅读(12)
评论(0)
推荐(0)
摘要:
容器管理 docker run –help -d, --detach=false 指定容器运行于前台还是后台,默认为false -i, --interactive=false 打开STDIN,用于控制台交互 -t, --tty=false 分配tty设备,可以支持终端登录,默认为false -u, 阅读全文
posted @ 2025-06-16 14:56
屠魔的少年
阅读(7)
评论(0)
推荐(0)
摘要:
mkdir /etc/docker/ cat > /etc/docker/daemon.json <<EOF { "registry-mirrors": [ "https://vm1wbfhf.mirror.aliyuncs.com", "http://f1361db2.m.daocloud.io" 阅读全文
posted @ 2025-06-16 14:55
屠魔的少年
阅读(13)
评论(0)
推荐(0)
摘要:
1.在settings.py中保存了数据库的连接配置信息,Django默认初始配置使用sqlite数据库。 使用MySQL数据库首先需要安装驱动程序 pip install PyMySQL -i http://mirrors.aliyun.com/pypi/simple/ 2.在Django的工程同 阅读全文
posted @ 2025-06-16 14:53
屠魔的少年
阅读(13)
评论(0)
推荐(0)
摘要:
You are trying to add a non-nullable field 'name' to contact without a default; we can't do that (the database needs something to populate existing ro 阅读全文
posted @ 2025-06-16 14:48
屠魔的少年
阅读(17)
评论(0)
推荐(0)
摘要:
下载地址: https://github.com/alibaba/DataX 参考文档 :https://github.com/alibaba/DataX/blob/master/userGuid.md 工具部署 下载后解压至本地某个目录,进入bin目录,即可运行同步作业: $ python bin 阅读全文
posted @ 2025-06-16 14:45
屠魔的少年
阅读(8)
评论(0)
推荐(0)
摘要:
mysql_init.sh #!/bin/bash . /etc/profile # 读库的变量 r_ip="10.20.30.28" r_port="3316" r_username="arch_wt" r_password="xxxxxx" # 写入库的变量 w_ip="10.20.30.28" 阅读全文
posted @ 2025-06-16 14:44
屠魔的少年
阅读(15)
评论(0)
推荐(0)
摘要:
# 创建虚拟环境 virtualenv archery --python=python3 # 切换python运行环境到虚拟环境 source /opt/envs/archery/bin/activate # 退出虚拟环境 deactivate 启动goInception: 1.3.0 nohup 阅读全文
posted @ 2025-06-16 14:39
屠魔的少年
阅读(13)
评论(0)
推荐(0)
摘要:
mysqlclient 换成下面: pip3 install mysqlclient==1.4.2.post1 -i https://pypi.tuna.tsinghua.edu.cn/simple/ 如果还不行,就到 https://pypi.org/project/mysqlclient/#fi 阅读全文
posted @ 2025-06-16 14:37
屠魔的少年
阅读(9)
评论(0)
推荐(0)
摘要:
报错: urllib3 v2 only supports OpenSSL 1.1.1+, currently the 'ssl' module is compiled with 'OpenSSL 1.0.2k-fips 26 Jan 2017' 解决办法: pip3 install urllib3= 阅读全文
posted @ 2025-06-16 14:36
屠魔的少年
阅读(51)
评论(0)
推荐(0)
摘要:
archery报错: (2013, "Lost connection to MySQL server at 'waiting for initial communication packet', system error: 110") 说明MySQL存在大量错误连接,MySQL配置添加如下配置并重启 阅读全文
posted @ 2025-06-16 14:36
屠魔的少年
阅读(18)
评论(0)
推荐(0)
摘要:
-- 查询用户id select * from sql_users where username='xxx' -- 查询拥有的权限 数据库级别:priv_type=1 表级别: priv_type=2 select * from query_privileges where user_name='x 阅读全文
posted @ 2025-06-16 14:33
屠魔的少年
阅读(53)
评论(0)
推荐(0)
摘要:
archery实例、数据库名、表名、数据库物理文件大小(MB)、行数、数据空间(MB)、索引空间(MB)、碎片空间(MB)、碎片率(%)、创建时间、更新时间、是否删除 CREATE TABLE `database_table_max_top` ( `id` int(11) NOT NULL AUTO 阅读全文
posted @ 2025-06-16 14:30
屠魔的少年
阅读(8)
评论(0)
推荐(0)
摘要:
KVM系统需求 官方推荐宿主机硬件需求 Host system requirements1.1核心2.2G内存3.6G硬盘 运行KVM虚拟机需求 KVM hypervisor requirements [root@localhost ~]# lscpu 虚拟化: VT-x #intel虚拟技术 检查 阅读全文
posted @ 2025-06-15 23:49
屠魔的少年
阅读(31)
评论(0)
推荐(0)