Quantcast
Channel: Instalación y Actualización
Viewing all articles
Browse latest Browse all 2633

Error al instalar con la bd, version 2.6

$
0
0
by Cristina Benallas.  

Hola a todos,

Tengo el siguiente problema con la instalación de la base de datos, como se muestra en la imagen.

El error que me sale es el siguiente:

Error:La conexión con la base de datos falló

Es posible que la base de datos esté sobrecargada o no funcione correctamente.

El administrador del sitio debe comprobar que los detalles de la base de datos han sido correctamente especificados en config.php

{$a}
Warning: mysqli::mysqli(): (28000/1045): Access denied for user 'rootuser'@'localhost' (using password: YES) in /var/www/vhost/casanazareth.org/home/html/moodle/lib/dml/mysqli_native_moodle_database.php on line 76

 

He estado mirando en los foros, pero no encuentro solución. En mi caso en el archivo config-dist.php no tengo especificada ninguna contraseña. Lo que tengo es lo siguiente:

//=========================================================================
// 1. DATABASE SETUP
//=========================================================================
// First, you need to configure the database where all Moodle data       //
// will be stored.  This database must already have been created         //
// and a username/password created to access it.                         //

$CFG->dbtype    = 'pgsql';      // 'pgsql', 'mariadb', 'mysqli', 'mssql', 'sqlsrv' or 'oci'
$CFG->dblibrary = 'native';     // 'native' only at the moment
$CFG->dbhost    = 'localhost';  // eg 'localhost' or 'db.isp.com' or IP
$CFG->dbname    = 'moodle';     // database name, eg moodle
$CFG->dbuser    = 'username';   // your database username
$CFG->dbpass    = 'password';   // your database password
$CFG->prefix    = 'mdl_';       // prefix to use for all table names
$CFG->dboptions = array(
    'dbpersist' => false,       // should persistent database connections be
                                //  used? set to 'false' for the most stable
                                //  setting, 'true' can improve performance
                                //  sometimes
    'dbsocket'  => false,       // should connection via UNIX socket be used?
                                //  if you set it to 'true' or custom path
                                //  here set dbhost to 'localhost',
                                //  (please note mysql is always using socket
                                //  if dbhost is 'localhost' - if you need
                                //  local port connection use '127.0.0.1')
    'dbport'    => '',          // the TCP port number to use when connecting
                                //  to the server. keep empty string for the
                                //  default port
);

No se muy bien que hacer, si alguien me puede ayudar se lo agradecería.

Gracias.

 

 


Viewing all articles
Browse latest Browse all 2633


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>