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.
Personally, I'd stick with postgresql, but that's because it's my preference :)
Re: DB Problems in metasploit
Quote:
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.
Personally, I'd stick with postgresql, but that's because it's my preference :)
Thanks alot for the reply :)!
Re: DB Problems in metasploit
You're welcome! Hope it's working out for you.