30 lines
865 B
Bash
Executable File
30 lines
865 B
Bash
Executable File
#!/bin/bash
|
|
# 配置数据库环境变量
|
|
export MYSQL_HOST=bj-cdb-8frbdwju.sql.tencentcdb.com
|
|
export MYSQL_USERNAME=read_only
|
|
export MYSQL_PASSWORD='fdsfiidier^$*hjfdijjd232'
|
|
export MYSQL_PORT=25413
|
|
|
|
export MYSQL_HOST_online=bj-cdb-dh2fkqa0.sql.tencentcdb.com
|
|
export MYSQL_USERNAME_online=read_only
|
|
export MYSQL_PASSWORD_online='fsdo45ijfmfmuu77$%^&'
|
|
export MYSQL_PORT_online=27751
|
|
|
|
export PG_DB_HOST=bj-postgres-16pob4sg.sql.tencentcdb.com
|
|
export PG_DB_PORT=28591
|
|
export PG_DB_USER=ai_member
|
|
export PG_DB_PASSWORD='LdfjdjL83h3h3^$&**YGG*'
|
|
export PG_DB_DATABASE=vala
|
|
|
|
export ES_HOST=es-7vd7jcu9.public.tencentelasticsearch.com
|
|
export ES_PORT=9200
|
|
export ES_SCHEME=https
|
|
export ES_USER=elastic
|
|
export ES_PASSWORD='F%?QDcWes7N2WTuiYD11'
|
|
|
|
# 设置导出用户ID
|
|
export USER_ID=11090
|
|
|
|
# 执行导出脚本
|
|
python3 business_knowledge/git_scripts/export_user_id_data.py
|