Hello folks,
How are you guys doing?

I am trying to use the Metasploit Framework to test the security of my network, so I am using the db_autopwn command, which automates the test, anyway, it needs a database to use, so I've chosen the MYSQL, I have created a database called test, so I run
Code:
db_connect root:password@localhost/test
I get the following errors.
Code:
[-] Error while running command db_connect: Failed to connect to the database: uninitialized constant MysqlCompat::MysqlRes

Call stack:
/opt/framework-3.5.2/msf3/lib/msf/ui/console/command_dispatcher/db.rb:1702:in `db_connect_mysql'
/opt/framework-3.5.2/msf3/lib/msf/ui/console/command_dispatcher/db.rb:1548:in `cmd_db_connect'
/opt/framework-3.5.2/msf3/lib/rex/ui/text/dispatcher_shell.rb:333:in `run_command'
/opt/framework-3.5.2/msf3/lib/rex/ui/text/dispatcher_shell.rb:295:in `block in run_single'
/opt/framework-3.5.2/msf3/lib/rex/ui/text/dispatcher_shell.rb:289:in `each'
/opt/framework-3.5.2/msf3/lib/rex/ui/text/dispatcher_shell.rb:289:in `run_single'
/opt/framework-3.5.2/msf3/lib/rex/ui/text/shell.rb:143:in `run'
/opt/framework-3.5.2/msf3/msfconsole:125:in `<main>'