
config.php.default is not used, you need to use config.php.
If you actually upgraded, and you followed the upgrade instructions, everything would just work, as your old config.php is copied from the previous version...
Tom
On 06/08/2015 12:56 PM, hayim siloni wrote:
Hi All, we have the same problem after upgrade to the new ver. i run this command : root@observium /opt/observium# ./discovery.php -VV MySQL Error: Access denied for user 'root'@'localhost' (using password: NO)
root@observium /opt/observium# cat config.php.default | grep db $config['db_host'] = 'localhost'; $config['db_user'] = 'USERNAME'; $config['db_pass'] = 'PASSWORD'; $config['db_name'] = 'observium'
root@observium /opt/observium# ls -l /opt/observium/config.php.default -rw-rw-r-- 1 1000 certssl 1031 Nov 4 2014 /opt/observium/config.php.default
thanks for your help br hayim
On Mon, Jun 8, 2015 at 1:43 PM Einar Storeng <einar.storeng@gmail.com mailto:einar.storeng@gmail.com> wrote:
Thank you for you answer. I can't give you this information because it seems my config is lost. Somehow the config files is missing, probably to a fault somewhere. I tried the upgrade twice due to a "to quick" decision so the backup is lost also. My fault, my regret. Than you for you help anyways. Best regards Einar On Mon, Jun 8, 2015 at 12:13 PM, Mike Stupalov <mike@observium.org <mailto:mike@observium.org>> wrote: Hi. By first, pls show your versions: ./discovery.php -VV Second show your config options (hide pass from output): cat config.php | grep db Also check permissions to files. ls -l /opt/observium/config.php On 08.06.15 12:58, Einar Storeng wrote:
Hi. After trying to upgrade to Community Edition version 0.15.6 i cant update the database. root@observium /# /opt/observium/discovery.php -h all MySQL Error: Access denied for user 'root'@'localhost' (using password: NO) Have done this regularly, but it seems it lost its config on root permisions on the DB I have different passwords on my root and root for MySQL I have no problem logging in to the web admin for PHPMyAdmin with my Mysql password for root. Any clues? Is there a scipt for roolback? Best regards Einar _______________________________________________ observium mailing list observium@observium.org <mailto:observium@observium.org> http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
-- Mike Stupalov http://observium.org _______________________________________________ observium mailing list observium@observium.org <mailto:observium@observium.org> http://postman.memetic.org/cgi-bin/mailman/listinfo/observium _______________________________________________ observium mailing list observium@observium.org <mailto:observium@observium.org> http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium