Fix metasploit " postgresql selected, no connection"

新手遇到的问题就是多,不要紧有google在。

原文地址:https://forums.kali.org/showthread.PHP?22485-No-connection-to-Database-for-Metasploit-after-update-solution


Hi there,

Connection to the postgresql database doesn't work for Metasploit after the last updates.
You can check that from msfconsole by typing : db_status which shows : postgresql selected,no connection
As a temporary solution (I hope ;-)),you can,from the msfconsole,type : db_connect -y /opt/Metasploit/apps/pro/ui/config/database.yml

This is automatically rebuild the cache and get you connected to the database.

Hope that helps someone out there.

相关文章

项目需要,有个数据需要导入,拿到手一开始以为是mysql,结果...
本文小编为大家详细介绍“怎么查看PostgreSQL数据库中所有表...
错误现象问题原因这是在远程连接时pg_hba.conf文件没有配置正...
因本地资源有限,在公共测试环境搭建了PGsql环境,从数据库本...
wamp 环境 这个提示就是说你的版本低于10了。 先打印ph...
psycopg2.OperationalError: SSL SYSCALL error: EOF detect...