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.

Changed default MySQL password and cannot login now [closed]

After installing OCS, it says to change the default MySQL ocs password. I am using OCS 2.1.2 on Ubuntu. I did the following in Terminal:

  1. mysql -u ocs -p
  2. SET PASSWORD FOR ocs@'localhost' = PASSWORD('passwordhere');
  3. sudo /etc/init.d/mysql stop
  4. sudo /etc/init.d/mysql start

After I did this, I can no longer sign into my OCS website. It says "User not registered." I am not sure what to do from here. I tried to repeat the step by reverting back to the default password, but that didn't help. I am not very familiar with Linux so a very simple solution would be appreciated. Thank you!

closed with the note: Figure it out
in OCS Inventory NG server for Unix by (280 points)
closed by

1 Answer

0 votes
Hi

Change ocs mysql password in dbconfig.inc.php, z-ocsinventory-server.conf file. Restart apache after modifications.
by (88.5k points)
That worked. Thank you!
 
Powered by Question2Answer
...