其他分享
首页 > 其他分享> > telit

telit

作者:互联网

netstat -tunlp | grep 3003

 

删库

SELECT pg_terminate_backend(pg_stat_activity.pid)
FROM pg_stat_activity
WHERE datname='test_demo' AND pid<>pg_backend_pid();
pg_terminate_backend

DROP DATABASE test_demo

select datname ,datistemplate from pg_database where datname='dfhupms';

UPDATE pg_database SET datistemplate=false where datname='dfhupms';

 

minio 启动

docker run --name minio -p 9000:9000 -p 9001:9001 -d --restart=always --privileged=true -e "MINIO_ROOT_USER=fileadmin" -e "MINIO_ROOT_PASSWORD=fileadmin" -v /opt/minio/data:/data -v /opy/minio/config:/root/.minio minio/minio server  /data --console-address ":9001" --address ":9000"

标签:datname,telit,--,pid,pg,backend,minio
来源: https://www.cnblogs.com/cckblogs/p/16554814.html