I've moved my GLPI installation from a server (debian lenny) to another
one (debian squeeze).

I've moved files, apache configuration and db, as i've done many times.

Now GLPI say:

         A link to the Mysql server could not be established. Please check your 
configuration.
        Le serveur Mysql est inaccessible. Vérifiez votre configuration

config_db.php contains:

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

and, on the same server, if i do:

 root@marvin:/usr/local/share/glpi/config# mysql -h localhost -u glpi -p glpict
 Enter password: <- inserted 'thepassword' here
 Reading table information for completion of table and column names
 You can turn off this feature to get a quicker startup with -A

 Welcome to the MySQL monitor.  Commands end with ; or \g.
 Your MySQL connection id is 917
 Server version: 5.1.63-0+squeeze1 (Debian)

 Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved.

 Oracle is a registered trademark of Oracle Corporation and/or its
 affiliates. Other names may be trademarks of their respective
 owners.

 Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

 mysql> 


If i put on the config_db.php the 'root' user credential, works.


What i'm missing?! Thanks.

-- 
dott. Marco Gaiarin                                 GNUPG Key ID: 240A3D66
  Associazione ``La Nostra Famiglia''                http://www.sv.lnf.it/
  Polo FVG  -  Via della BontĂ , 7 - 33078  -  San Vito al Tagliamento (PN)
  marco.gaiarin(at)sv.lnf.it      tel +39-0434-842711  fax +39-0434-842797

                Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA!
           http://www.lanostrafamiglia.it/chi_siamo/5xmille.php
        (cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA)

_______________________________________________
Glpi-user mailing list
[email protected]
https://mail.gna.org/listinfo/glpi-user

Reply via email to