Has anyone gotten this working with Server 2.5 on 18.04.1 (also MariaDB 10.3) ? No matter what I do, the agents only check in using the 'ocs' account. I get the following error:
OCS-NG_WINDOWS_AGENT_v2.3.1.1;database_connect;Access denied for user 'ocs'@'localhost' (using password: YES)
These files have the correct credentials and using a different database username (NOT ocs)...
/usr/share/ocsinventory-reports/ocsreports/dbconfig.inc.php
/etc/apache2/conf-available/z-ocsinventory-server.conf
/etc/apache2/conf-enabled/z-ocsinventory-server.conf
Where else would it be getting that ocs account from? I modified the setup.sh to use a different account from ocs as well for the install. Thanks.
Also... this is the script used to install....
https://github.com/jeremylarose/server_install_scripts/blob/master/OCSInventory2.5_Ubuntu18.04_MariaDB10.3_Install.sh