I had this problem with an installation of Metasploit on an install of Ubuntu and haven't quite figured it out, but things should be set up properly to use MySQL in Metsploit on BT4R2.
To update ruby gems try
Code:gem help update
Hey guys,
I updated metasploit via fasttrack. When I try to set the db_driver to mysql it says
[*] Active Driver: sqlite3[*] Available: sqlite3[*] DB Support: Enable the mysql driver with the following command:[*] $ gem install mysql
So, I tried "gem install mysql" via terminal and that gives me a problem
ERROR: could not find gem mysql locally or in a repository
my gem list ony shows
*** LOCAL GEMS ***
baffle (0.2.1)
dot11 (0.1.0)
exegesis (0.2.6)
facets (2.5.2)
httpclient (2.1.4, 2.1.3.1)
ip (0.2.2)
pNet-DNS (1.0.2)
postgres-pr (0.5.0)
rb-lorcon (0.1.0)
rb-pcap (0.1.0)
rest-client (1.0)
wxruby (2.0.1)
Next I try "gem update --system" and that gives me an erorr aswell
ERROR: While executing gem ... (RuntimeError)
gem update --system is disabled on Debian. RubyGems can be updated using the official Debian repositories by aptitude or apt-get.
My question is how do I set metasploit to use mysql for a database ( trying to use armitage). Im running backtrack 4 final. Thanks
Last edited by hightech; 12-05-2010 at 07:02 PM.
Where is the any key ???
I had this problem with an installation of Metasploit on an install of Ubuntu and haven't quite figured it out, but things should be set up properly to use MySQL in Metsploit on BT4R2.
To update ruby gems try
Code:gem help update