Quantcast
Channel: Ocsinventory Q&A - Recent questions without answers
Viewing all articles
Browse latest Browse all 4599

How to change mysql password

$
0
0

Hi,

after i spend much time to get ocsdiscovery orking, i try to change the password für the mysql user

I followed the Instructions in

https://wiki.ocsinventory-ng.org/09.Extras/Secure-your-OCS-Inventory-NG-Server/

(only new password for ocs user)

Bit id didnt work.

In the Web frontend i get the following error:

ERROR: MySql connection problem 1045

Access denied for user 'ocs'@'localhost' (using password: YES)

ERROR: MySql connection problem 1045

Access denied for user 'ocs'@'localhost' (using password: YES)

It seems that i need to change some more files as shown in the Documentation.

After greping the files in /usr/share/ocsinventory-reports/ and /etc/httpd/conf.d/ for the database name, i found the following

 files, that contains the mysql password:

/usr/share/ocsinventory-reports/ocsreports/dbconfig.inc.php

/usr/share/ocsinventory-reports/ocsreports/ipdiscover-util.pl

/etc/httpd/conf.d/ocsinventory-server.conf

/etc/httpd/conf.d/ocsinventory-restapi.conf

After changing the Files and restarting mariadb/httpd it is not working.

Is there any way to perform that (simple) task - changing the mySQL-Password?

Thanks!

Viewing all articles
Browse latest Browse all 4599

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>