In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/03 Report--
First of all, give the official website link: https://getkong.org/docs/0.10.x/admin-api/
Ubuntu 16.04
Kong 0.9.8 (common to all versions)
# sudo apt-get update
# sudo apt-get install openssl libpcre3 procps perl postgresql
# wget https://bintray.com/mashape/kong-ubuntu-xenial-0.9.x/download_file?file_path=dists%2Fkong-0.9.9.xenial_all.deb
# mv download_file?file_path=dists%2Fkong-0.9.9.xenial_all.debkong-0.9.9.deb
# sudo dpkg-ikong-0.9.9.deb
# su postgres
$psql
Postgres=# CREATE USER kong; CREATE DATABASE kong OWNER kong
Postgres=# alter user kong withpassword 'kong'
Postgres=#\ Q
$exit
# kong start-- vv &
A large errror message appears:
Error:
/ usr/local/share/lua/5.1/kong/cmd/start.lua:34:/usr/local/share/lua/5.1/kong/cmd/start.lua:21: [po
Stgres error] could not get current migrations: [postgres error] FATAL: passwordauthentication failed for user "kong"
It bothered me for three hours at first. Why did I lose my password? Neither the database nor the configuration file has a password set. The official document also makes no mention of the need to set a special password. I think since the password is lost, let's just try to create the password first. Then it succeeds, which actually means that the password is still required in the internal settings.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.