Home page logo
/

metasploit logo Metasploit mailing list archives

Re: Problems connecting db
From: Stephen Haywood <haywoodsb () gmail com>
Date: Fri, 13 May 2011 12:42:13 -0400

Are you running BT5 32-bit or 64-bit. You may have to install a 64bit
version of the mysql gem.

On Fri, May 13, 2011 at 12:27 PM, Jesus Prieto <jotapwn () gmail com> wrote:
Hello,

I have just downloaded MSF5 and am having problems when I try to use
autopwn.

Everytime I try to connect to the db, I get this error:

msf > db_connect root:toor () 192 168 255 37 /metasploit3
[-] Error while running command db_connect: Failed to connect to the
database: uninitialized constant MysqlCompat::MysqlRes

Call stack:
/opt/framework3/msf3/lib/msf/ui/console/command_dispatcher/db.rb:1848:in
`db_connect_mysql'
/opt/framework3/msf3/lib/msf/ui/console/command_dispatcher/db.rb:1731:in
`cmd_db_connect'
/opt/framework3/msf3/lib/rex/ui/text/dispatcher_shell.rb:331:in
`run_command'
/opt/framework3/msf3/lib/rex/ui/text/dispatcher_shell.rb:293:in `block in
run_single'
/opt/framework3/msf3/lib/rex/ui/text/dispatcher_shell.rb:287:in `each'
/opt/framework3/msf3/lib/rex/ui/text/dispatcher_shell.rb:287:in `run_single'
/opt/framework3/msf3/lib/rex/ui/text/shell.rb:143:in `run'
/opt/framework3/msf3/msfconsole:130:in `<main>'

Mysql is running, and I cannot connect to mysql either.

Any idea?

Thanks a lot in advance.

_______________________________________________
https://mail.metasploit.com/mailman/listinfo/framework


_______________________________________________
https://mail.metasploit.com/mailman/listinfo/framework


  By Date           By Thread  

Current thread:
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]