I appear to have exactly the same problem, after having upgraded to 3.8.0
Did you manage to fix this ?
Hi just installed BT5 32-bit and ran and update on metasploit.
Im now getting a call stack error when trying to create a database, all credentials are correct. and mysql service is running and i can connect to it via terminal.
MySQL works with Metasploit < V3.7.2, it seems the update to V3.8 has broken it :-(
Is there a known work around, I don't want to use postgres.
ThanksCode:=[ metasploit v3.8.0-dev [core:3.8 api:1.0] + -- --=[ 716 exploits - 362 auxiliary - 59 post + -- --=[ 226 payloads - 27 encoders - 8 nops =[ svn r13225 updated today (2011.07.19) msf > db_driver[*] Active Driver: postgresql[*] Available: postgresql, mysql msf > db_driver mysql[*] Using database driver mysql msf > db_connect root:mypass@localhost/metasploit [-] 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:1972:in `db_connect_mysql' /opt/framework3/msf3/lib/msf/ui/console/command_dispatcher/db.rb:1855:in `cmd_db_connect' /opt/framework3/msf3/lib/rex/ui/text/dispatcher_shell.rb:376:in `run_command' /opt/framework3/msf3/lib/rex/ui/text/dispatcher_shell.rb:338:in `block in run_single' /opt/framework3/msf3/lib/rex/ui/text/dispatcher_shell.rb:332:in `each' /opt/framework3/msf3/lib/rex/ui/text/dispatcher_shell.rb:332:in `run_single' /opt/framework3/msf3/lib/rex/ui/text/shell.rb:143:in `run' /opt/framework3/msf3/msfconsole:130:in `<main>' msf >
______________
Tarmac Terrorist
I appear to have exactly the same problem, after having upgraded to 3.8.0
Did you manage to fix this ?
I got several other issues about metasploit...
first of all it is not listed in the menu... this is not the worst thing.
secondly I got a msf3 folder in &/framework3 . so its $/framework3/msf3 ??
Is this correct?
thirdly it's like i cannot load modules... or its not that up to date.. weird...
But I realized BT5 comes with a lot of unconfigured stuff!!!
I nedded to configute mostly all by myself...
Instead of "db_connect root:toor@localhost/metasploit3" try "db_connect root:toor@127.0.0.1/metasploit3" or "db_connect root:toor@(Your_Network_IP_Address_Here)/metasploit3". Hope that helps.![]()
is there any solution for this issue ?!
i have searched some method to solve it, but all of them are not work........