Forums | Mahara Community

Support /
help !! instalation


anonymous profile picture
Account deleted
Posts: 1

08 March 2010, 11:00

Hello !!

Iam suffering some problem installing Mahara in my dedicated server gestionated by my hosting(1and1 spain).

When iam tippyng my domain appear the followig error

Mahara: Site unavailable

Mahara could not connect to the application database.

* If you are using Mahara, please wait a minute and try again
* If you are the administrator, please check your database settings and make sure your database is available

The error received was:
mysql error: [1045: Access denied for user:xxxxxx.... here is all my dbase info.

I was creating new dbase 3 times, iam using phpmyadmin ... but the extrange think is that when iam creating the base the system only required the following info 

Description of the dbase

password

then i resive an info with all the rst info generated automatically. and this are an exameple of one on my dbase info 

Nombre de la base de datos 	db319918189
Nombre del Host localhost:/tmp/mysql5.sock
Puerto 3316
Nombre de usuario dbo319918189
Descripción mahara
Version MySQL5.0
Estado Se ha iniciado la configuración
Socket	/tmp/mysql5.sock
please i need help!!
Regards 

 

 

steve P's profile picture
Posts: 122

08 March 2010, 20:05

Hi Gaston,

You must make sure you have a user specified for the database connection in config.php, similar to the following.

// database connection details
// valid values for dbtype are 'postgres8' and 'mysql5'
$cfg->dbtype   = 'mysql5';
$cfg->dbhost   = 'localhost';
$cfg->dbport   = null;
$cfg->dbname   = 'dDBNameHere';
$cfg->dbuser   = 'userNameHere';
$cfg->dbpass   = 'passwordHere';

$cfg->dbprefix = '';
 

If you have entered these correctly, check your database permissions in phpMyAdmin. If you are not granting permissions to specific users on specific databases via phpMyAdmin, then you will need to use the same username and password in Mahara that phpMyAdmin is using for connecting to your databases. This may be the root user.

2 results