Welcome to OCS Inventory NG community support, where you can ask questions and receive answers from other members of the community.

Please ask questions only in English or French.

Release 2.11.1 available

The official documentation can be found on http://wiki.ocsinventory-ng.org. Read it before asking your question.

Access denied 'ocs'@'localhost' in activity.log


Recently I have installed the latest OCS version. Now when I install agent (OCS-Windows-Agent- on windows 10 then on OCS server in activity.log it shows this ERROR.

OCS-NG_WINDOWS_AGENT_v2.10.1.0;database_connect;Access denied for user 'ocs'@'localhost'

x.x.x.x;OCS-NG_WINDOWS_AGENT_v2.10.1.0;handler;Database connection

What could be wrong. Your guidance is appreciated.


in OCS Inventory NG agent for Windows by (130 points)

2 Answers

+2 votes

mysql ocs uer password is not correct or not set. Verify the connection.

by (88.5k points)
0 votes

I wanted to know if the problem has been solved, cause i am also getting the same type of error. I had checked my configuration files, but still not able to figure out where exactly there is mismatch in mysql ocs user password.
by (150 points)
Powered by Question2Answer