metasploit-framework May 2011 archive
Main Archive Page > Month Archives  > metasploit-framework archives
metasploit-framework: [framework] Problems connecting db

[framework] Problems connecting db

From: Jesus Prieto <jotapwn_at_nospam>
Date: Fri May 13 2011 - 16:27:04 GMT
To: framework@spool.metasploit.com

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