I have upgraded my server to 2.10 and can't get my agents to connect to it. I have changed username, dbname and password in the z-ocsinventory-server.conf, var.php and dbconfig.inc.php. My apache log has this message.
database_connect;Access denied for user 'ocs'@'localhost'
Somehow, it seems to still try to connect with default username and password. Where else is it picking the default user and password from?