ola.. mi problema es que no puedo crear base de datos en metasploit framework 3.4.0.. estando instalado postgresql lo activo y al ejecutar el comando db_create "nombre base" me suelta:
Warning: The db_create command is deprecated, use db_connect instead.
[-] The database and schema will be created automatically by
[-] db_connect. If db_connect fails to create the database, create
[-] it manually with your DBMS's administration tools.
[-]
mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/var/run/mysql/mysql.sock' (2)'
Check that mysqld is running and that the socket: '/var/run/mysql/mysql.sock' exists!
[-] Error while running command db_create: Failed to connect to the database: undefined method `init' for Mysql:Class
Call stack:
/home/mishima/Descargas/msf3/lib/msf/ui/console/command_dispatcher/db.rb:1410:in `db_create_mysql'
/home/mishima/Descargas/msf3/lib/msf/ui/console/command_dispatcher/db.rb:1165:in `send'
/home/mishima/Descargas/msf3/lib/msf/ui/console/command_dispatcher/db.rb:1165:in `cmd_db_create'
/home/mishima/Descargas/msf3/lib/rex/ui/text/dispatcher_shell.rb:246:in `send'
/home/mishima/Descargas/msf3/lib/rex/ui/text/dispatcher_shell.rb:246:in `run_command'
/home/mishima/Descargas/msf3/lib/rex/ui/text/dispatcher_shell.rb:208:in `run_single'
/home/mishima/Descargas/msf3/lib/rex/ui/text/dispatcher_shell.rb:202:in `each'
/home/mishima/Descargas/msf3/lib/rex/ui/text/dispatcher_shell.rb:202:in `run_single'
/home/mishima/Descargas/msf3/lib/rex/ui/text/shell.rb:145:in `run'
./msfconsole:97
alguien sabe xq????? gracias de antemano
Warning: The db_create command is deprecated, use db_connect instead.
[-] The database and schema will be created automatically by
[-] db_connect. If db_connect fails to create the database, create
[-] it manually with your DBMS's administration tools.
[-]
mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/var/run/mysql/mysql.sock' (2)'
Check that mysqld is running and that the socket: '/var/run/mysql/mysql.sock' exists!
[-] Error while running command db_create: Failed to connect to the database: undefined method `init' for Mysql:Class
Call stack:
/home/mishima/Descargas/msf3/lib/msf/ui/console/command_dispatcher/db.rb:1410:in `db_create_mysql'
/home/mishima/Descargas/msf3/lib/msf/ui/console/command_dispatcher/db.rb:1165:in `send'
/home/mishima/Descargas/msf3/lib/msf/ui/console/command_dispatcher/db.rb:1165:in `cmd_db_create'
/home/mishima/Descargas/msf3/lib/rex/ui/text/dispatcher_shell.rb:246:in `send'
/home/mishima/Descargas/msf3/lib/rex/ui/text/dispatcher_shell.rb:246:in `run_command'
/home/mishima/Descargas/msf3/lib/rex/ui/text/dispatcher_shell.rb:208:in `run_single'
/home/mishima/Descargas/msf3/lib/rex/ui/text/dispatcher_shell.rb:202:in `each'
/home/mishima/Descargas/msf3/lib/rex/ui/text/dispatcher_shell.rb:202:in `run_single'
/home/mishima/Descargas/msf3/lib/rex/ui/text/shell.rb:145:in `run'
./msfconsole:97
alguien sabe xq????? gracias de antemano