Open dulao5 opened 1 year ago
BACKEND_TiDB_PORT=4000
HOSTNAME=ip-172-50-1-33.ec2.internal
HOME=/root
BACKEND_AURORA_PASS=admin1234
AWS_EXECUTION_ENV=AWS_ECS_FARGATE
BACKEND_AURORA_HOST=laravel-on-ecs-dzg-aurora-cluster.cluster-cxmxisy1o2a2.us-east-1.rds.amazonaws.com
ECS_AGENT_URI=http://169.254.170.2/api/06ae710c35504e3a9a0d7fb4d0adfafc-4053982789
BACKEND_AURORA_USER=admin
AWS_DEFAULT_REGION=us-east-1
Hoge=fuga10
ECS_CONTAINER_METADATA_URI_V4=http://169.254.170.2/v4/06ae710c35504e3a9a0d7fb4d0adfafc-4053982789
ECS_CONTAINER_METADATA_URI=http://169.254.170.2/v3/06ae710c35504e3a9a0d7fb4d0adfafc-4053982789
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
BACKEND_AURORA_PORT=3306
BACKEND_TiDB_PASS=lognote-test
AWS_REGION=us-east-1
PWD=/
BACKEND_TiDB_HOST=private-tidb.mrdrymlxc41.clusters.tidb-cloud.com
BACKEND_TiDB_USER=root
5/17/2023, 5:38:37 PM GMT+9 Parse error at /etc/proxysql.cnf:49 - syntax error
datadir="/var/lib/proxysql"
admin_variables=
{
admin_credentials="admin:c9ApWNPHAfUz"
admin-web_enabled=false
mysql_ifaces="0.0.0.0:6032"
}
mysql_variables=
{
threads=4
max_connections=2048
default_query_delay=0
default_query_timeout=36000000
default_tx_isolation="REPEATABLE-READ"
have_compress=true
poll_timeout=2000
interfaces="0.0.0.0:6033;/var/lib/proxysql/proxysql.sock"
default_schema="information_schema"
stacksize=1048576
server_version="5.5.30"
connect_timeout_server=3000
monitor_username="monitor"
monitor_password="e8GKWZb4BaC6Pum"
monitor_history=60000
monitor_connect_interval=200000
monitor_ping_interval=100000
monitor_read_only_interval=1500
monitor_read_only_timeout=500
ping_interval_server_msec=10000
ping_timeout_server=200
commands_stats=true
sessions_sort=true
}
mysql_servers =
(
{
address = "laravel-on-ecs-dzg-aurora-cluster.cluster-cxmxisy1o2a2.us-east-1.rds.amazonaws.com"
port = 3306
hostgroup = 1
use_ssl = 0
max_connections = 100
},
{
address = ""
port =
hostgroup = 2
use_ssl = 0
max_connections = 100
}
)
mysql_users =
(
{
username = "admin"
password = "admin1234"
backend = true
frontend = true
default_hostgroup = 1
},
{
username = ""
password = ""
backend = true
frontend = true
default_hostgroup = 2
}
)
proxysql error:
source code : https://github.com/dulao5/laravel-on-ecs-sample/blob/main/docker/proxysql/entrypoint.sh#L4
ecs log:
Environment