You are not logged in.
Pages: 1
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
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
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
Pages: 1