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-06-09 04:06:20

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

MySql Error

Hi guys,

after I transfer the glpi folder to another Pc--

and accessing the localhost/glpi 

a prompt message tells

A link to the Mysql server could not be established. Please check your configuration


what can I do with this matter?
anyone who can help?

Thanks.

Offline

#2 2012-06-10 16:31:58

genzodiwa
Member
From: Darwin NT Au
Registered: 2009-04-24
Posts: 5
Website

Re: MySql Error

Inside file glpi/config/config_db.php

Do you have the correct info such as username and password and host and database?
var $dbhost = 'localhost'
var $dbuser     = 'root'
var $dbpassword= '';
var $dbdefault    = 'glpi_db';

Is the Mysql server running on the new host? -- You can not just copy the GLPI folder to another computer.
**If your MySQL database is still on the old computer then edit the glpi/config/config_db.php and tell it the IP of the host and verify the host will have correct firewall permissions to allow MySql connections from the other computer.
**If you transferred the MySQL database to the new computer which is also running MySQL - perhaps you need to update the root password in your config file?
Hope this helps you - not much info was given so please be as precise as possible ****
http://www.glpi-project.org/forum/viewt … p?id=10279

Offline

#3 2012-06-19 19:58:19

wamm
Member
Registered: 2012-06-19
Posts: 1

Re: MySql Error

hello
is there also a way to change the default port (3306) to something other from mysql in the config_db.php? we can't run mysql on port 3306.
thanks, regards
cyrill

Offline

Board footer

Powered by FluxBB