OCS 2.2 - Mysql alternate port error

Bug #1406769 reported by blank
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OCS Inventory: OCSReports
Invalid
Medium
Erwan

Bug Description

Making some test on beta version
I have dumped my databse to a new one, same server / login /password
During setup i use the same server adresse like server:port as old version.

After setup cannot acces to server with "mysql unknow host error", it seems that mysqli_connect cannot server adresse with port but like this mysqli_connect(server,login,pws;db;port).

To get it work "temporary" i update line 10 and 31 on /backend/require/connexion.php

and also line 150 on requiere/function_commun.php

with $link_ocs=mysqli_connect(SERVER_WRITE,COMPTE_BASE,PSWD_BASE,"","3307");

Frank (frank-bourdeau)
Changed in ocsinventory-server:
importance: Undecided → Medium
assignee: nobody → Erwan (airoine)
importance: Medium → Low
importance: Low → Medium
affects: ocsinventory-server → ocsinventory-ocsreports
Changed in ocsinventory-ocsreports:
assignee: Erwan (airoine) → nobody
assignee: nobody → Erwan (airoine)
Changed in ocsinventory-ocsreports:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.