Metasploit mailing list archives
Re: error connecting to mysql via db_connect
From: HD Moore <hdm () metasploit com>
Date: Tue, 16 Mar 2010 12:28:25 -0500
On 3/16/2010 3:39 AM, Giorgio Casali wrote:
Hi all after installing mysql gem whenever I try to connect to mysql db I receive this error: msf > db_connect root:pass@127.0.0.1 <mailto:root%3Apass@127.0.0.1> Error while running command db_connect: Failed to connect to the database: Can't connect to MySQL server on '127.0.0.1' (111)
Looks like your database server is not configured - 111 generally indicates connection refused, so make sure its actually listening on 3306. _______________________________________________ https://mail.metasploit.com/mailman/listinfo/framework
Current thread:
- error connecting to mysql via db_connect Giorgio Casali (Mar 16)
- Re: error connecting to mysql via db_connect HD Moore (Mar 16)
- <Possible follow-ups>
- Re: error connecting to mysql via db_connect jcran (Mar 16)
- Re: error connecting to mysql via db_connect HD Moore (Mar 16)