You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2012-03-16 11:42:22

64002
Guest
Registered: 2012-03-16
Posts: 1

A link to the Mysql server could not be established

Windows password for LDAP connection has been changed recently. After that our GLPI system can be login, even logon by the default account (e.g. glpi, etc.).

A message (A link to the Mysql server could not be established. Please check your configuration) is now prompted on the front page of GLPI, the logon box even cannot be displayed.

Any one know how can it be fixed?

Thanks and regards!

Offline

#2 2012-03-16 11:58:24

yllen
GLPI-DEV
From: Sillery (51)
Registered: 2008-01-14
Posts: 13,360

Re: A link to the Mysql server could not be established

Look at glpi/config/config_db.php


CentOS 6.5 - PHP 5.6 - PHP 7 - MySQL 5.6  + APC + memcached
GLPI 0.90.5 SVN - GLPI 9.1.3 SVN
Certifiée ITIL (ITV2F, ITILF, ITILOSA)

Offline

#3 2012-06-09 07:41:28

sweetjessan
Guest
Registered: 2012-05-15
Posts: 4

Re: A link to the Mysql server could not be established

Hi, what changes must be apply in config_db.php

what can i see are the ff:

<?php
class DB extends DBmysql {
               
var $dbhost = 'localhost';
               
var $dbuser     = 'root';
               
var $dbpassword= '';
               
var $dbdefault    = 'glpi_db';
               
}
?>


Pls. do help me guys....

Last edited by sweetjessan (2012-06-09 07:41:48)

Offline

#4 2012-06-09 21:15:43

FabFara
Guest
From: Italy - Bergamo
Registered: 2011-09-15
Posts: 36

Re: A link to the Mysql server could not be established

Os type and version?
The password of  mysql user is correct?
You have recently updated your mysql??


Chek the sql log for some detiled error  (/var/log/mysql)

Last edited by FabFara (2012-06-09 21:17:04)


GLPI 0.83.7 - MySQL 5.1.69 - PHP 5.3.3 - CentOS 6.4 64 bit

Offline

#5 2012-06-10 10:30:01

sweetjessan
Guest
Registered: 2012-05-15
Posts: 4

Re: A link to the Mysql server could not be established

Hi FabFara,

Thank you so much and I forgot to put the password for mysql

and now it's working.

Thank you...

Offline

Board footer

Powered by FluxBB