sunetdrive/templates/proxysql/proxysql.erb.sh

5 lines
185 B
Bash
Raw Permalink Normal View History

2023-02-13 09:44:56 +00:00
#!/bin/bash
#docker exec proxysql_proxysql_1 mysql -B -N -e "UPDATE main.mysql_servers SET status = 'ONLINE' WHERE hostname = ''"
docker exec proxysql_proxysql_1 mysql -B -N -e "${@}"