If this is your first visit, be sure to
check out the Forum Rules by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

DB Problems in metasploit

Hey I try to load up a database but it says it isnt there can anyone help? thanks!

Code:

msf > db_driver[*] Active Driver: postgresql[*] Available: postgresql, mysql
msf > /etc/init.d/mysql start[*] exec: /etc/init.d/mysql start
Rather than invoking init scripts through /etc/init.d, use the service(8)
utility, e.g. service mysql start
Since the script you are attempting to invoke has been converted to an
Upstart job, you may also use the start(8) utility, e.g. start mysql
start: Job failed to start

Re: DB Problems in metasploit

Looks like you've already got a database loaded (i.e. postgresql). If you want to use the mysql database instead, try "service postgresql stop", then "service mysql start". Then, run "db_driver" and see if mysql is active.

Re: DB Problems in metasploit

Originally Posted by scottm99

Looks like you've already got a database loaded (i.e. postgresql). If you want to use the mysql database instead, try "service postgresql stop", then "service mysql start". Then, run "db_driver" and see if mysql is active.