|Main Archive Page > Month Archives > metasploit-framework archives|
After svn update, the error disappeared. I can access to mysql now, but
still getting an error when using db_connect, that I am trying to figure
[-] Error while running command db_connect: Failed to connect to the
database: could not connect to server: Connection refused
Is the server running on host "127.0.0.1" and accepting
TCP/IP connections on port 5432?
/opt/framework3/msf3/lib/rex/ui/text/dispatcher_shell.rb:293:in `block in
Thanks a lot to everybody.
2011/5/13 Joshua J. Drake <firstname.lastname@example.org>
> On Fri, May 13, 2011 at 02:01:07PM -0400, Stephen Haywood wrote:
> > msfupdate takes me to revision 12610
> > ran db_disconnect
> > db_driver mysql
> > db_connect msf:email@example.com/metasploit3
> > got the same error message.
> Indeed, my initial assessment appears to be incorrect.
> MysqlCompat/MysqlRes are only referenced from active_support. It must
> be some kind of local problem with the mysql gem (as you previously
> stated) since it works on my box.
> msf > db_connect root@localhost/msf3
> msf > db_status
> [*] mysql connected to msf3
> msf > gem list | grep mysql
> [*] exec: gem list | grep mysql
> mysql (2.8.1)
> Joshua J. Drake