加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

Fix metasploit " postgresql selected, no connection&

发布时间:2020-12-13 17:23:44 所属栏目:百科 来源:网络整理
导读:新手遇到的问题就是多,不要紧有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 afte

新手遇到的问题就是多,不要紧有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.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读