![](https://secure.gravatar.com/avatar/528b320f8db241c05709481e573aec8e.jpg?s=120&d=mm&r=g)
Hi,
I am trying to install the latest version Observium on a new Ubuntu 10.04.4 server and I for some reason cannot get past the inserting default schema stage, see the errors I am getting below.
brucem@ubuntu:/opt/observium$ sudo php includes/sql-schema/update.php
PHP Notice: Undefined index: alerts in /opt/observium/includes/functions.php on line 21
-- Updating database schema
000 -> 001 ...PHP Warning: mysql_query(): Access denied for user 'root'@'localhost' (using password: NO) in /opt/observium/includes/sql-schema/update.php on line 102
PHP Warning: mysql_query(): A link to the server could not be established in /opt/observium/includes/sql-schema/update.php on line 102
PHP Warning: mysql_query(): Access denied for user 'root'@'localhost' (using password: NO) in /opt/observium/includes/sql-schema/update.php on line 102
PHP Warning: mysql_query(): A link to the server could not be established in /opt/observium/includes/sql-schema/update.php on line 102
PHP Warning: mysql_query(): Access denied for user 'root'@'localhost' (using password: NO) in /opt/observium/includes/sql-schema/update.php on line 102
PHP Warning: mysql_query(): A link to the server could not be established in /opt/observium/includes/sql-schema/update.php on line 102
.....................
.....................
019 -> 020 ...PHP Warning: mysql_query(): Access denied for user 'root'@'localhost' (using password: NO) in /opt/observium/includes/sql-schema/update.php on line 102
PHP Warning: mysql_query(): A link to the server could not be established in /opt/observium/includes/sql-schema/update.php on line 102
PHP Warning: mysql_query(): Access denied for user 'root'@'localhost' (using password: NO) in /opt/observium/includes/sql-schema/update.php on line 102
PHP Warning: mysql_query(): A link to the server could not be established in /opt/observium/includes/sql-schema/update.php on line 102
PHP Warning: mysql_query(): Access denied for user 'root'@'localhost' (using password: NO) in /opt/observium/includes/sql-schema/update.php on line 102
PHP Warning: mysql_query(): A link to the server could not be established in /opt/observium/includes/sql-schema/update.php on line 102
PHP Warning: mysql_query(): Access denied for user 'root'@'localhost' (using password: NO) in /opt/observium/includes/sql-schema/update.php on line 102
PHP Warning: mysql_query(): A link to the server could not be established in /opt/observium/includes/sql-schema/update.php on line 102
PHP Warning: mysql_query(): Access denied for user 'root'@'localhost' (using password: NO) in /opt/observium/includes/sql-schema/update.php on line 102
PHP Warning: mysql_query(): A link to the server could not be established in /opt/observium/includes/sql-schema/update.php on line 102
PHP Warning: mysql_query(): Access denied for user 'root'@'localhost' (using password: NO) in /opt/observium/includes/sql-schema/update.php on line 102
PHP Warning: mysql_query(): A link to the server could not be established in /opt/observium/includes/sql-schema/update.php on line 102
Everything up to this stage went without a glitch including configuring the correct DB credentials in the config.php file and also on the MySQL database itself, so I am not sure where I am going wrong. I will appreciate any help. Thank.
Regards,
Bruce-Young Majola
![](https://secure.gravatar.com/avatar/e0232b7266073926a1f02f1f504651fe.jpg?s=120&d=mm&r=g)
are you sure you configured the DB params in config.php.inc ? it seems you are trying to access using root and empty password.
On Wed, May 9, 2012 at 2:42 PM, Bruce-Young Majola brucem@muzotech.co.za wrote:
Hi,
I am trying to install the latest version Observium on a new Ubuntu 10.04.4 server and I for some reason cannot get past the inserting default schema stage, see the errors I am getting below.
brucem@ubuntu:/opt/observium$ sudo php includes/sql-schema/update.php
PHP Notice: Undefined index: alerts in /opt/observium/includes/functions.php on line 21
-- Updating database schema
000 -> 001 ...PHP Warning: mysql_query(): Access denied for user 'root'@'localhost' (using password: NO) in /opt/observium/includes/sql-schema/update.php on line 102
PHP Warning: mysql_query(): A link to the server could not be established in /opt/observium/includes/sql-schema/update.php on line 102
PHP Warning: mysql_query(): Access denied for user 'root'@'localhost' (using password: NO) in /opt/observium/includes/sql-schema/update.php on line 102
PHP Warning: mysql_query(): A link to the server could not be established in /opt/observium/includes/sql-schema/update.php on line 102
PHP Warning: mysql_query(): Access denied for user 'root'@'localhost' (using password: NO) in /opt/observium/includes/sql-schema/update.php on line 102
PHP Warning: mysql_query(): A link to the server could not be established in /opt/observium/includes/sql-schema/update.php on line 102
.....................
.....................
019 -> 020 ...PHP Warning: mysql_query(): Access denied for user 'root'@'localhost' (using password: NO) in /opt/observium/includes/sql-schema/update.php on line 102
PHP Warning: mysql_query(): A link to the server could not be established in /opt/observium/includes/sql-schema/update.php on line 102
PHP Warning: mysql_query(): Access denied for user 'root'@'localhost' (using password: NO) in /opt/observium/includes/sql-schema/update.php on line 102
PHP Warning: mysql_query(): A link to the server could not be established in /opt/observium/includes/sql-schema/update.php on line 102
PHP Warning: mysql_query(): Access denied for user 'root'@'localhost' (using password: NO) in /opt/observium/includes/sql-schema/update.php on line 102
PHP Warning: mysql_query(): A link to the server could not be established in /opt/observium/includes/sql-schema/update.php on line 102
PHP Warning: mysql_query(): Access denied for user 'root'@'localhost' (using password: NO) in /opt/observium/includes/sql-schema/update.php on line 102
PHP Warning: mysql_query(): A link to the server could not be established in /opt/observium/includes/sql-schema/update.php on line 102
PHP Warning: mysql_query(): Access denied for user 'root'@'localhost' (using password: NO) in /opt/observium/includes/sql-schema/update.php on line 102
PHP Warning: mysql_query(): A link to the server could not be established in /opt/observium/includes/sql-schema/update.php on line 102
PHP Warning: mysql_query(): Access denied for user 'root'@'localhost' (using password: NO) in /opt/observium/includes/sql-schema/update.php on line 102
PHP Warning: mysql_query(): A link to the server could not be established in /opt/observium/includes/sql-schema/update.php on line 102
Everything up to this stage went without a glitch including configuring the correct DB credentials in the config.php file and also on the MySQL database itself, so I am not sure where I am going wrong. I will appreciate any help. Thank.
Regards,
Bruce-Young Majola
__________ Information from ESET Smart Security, version of virus signature database 7124 (20120509) __________
The message was checked by ESET Smart Security.
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
![](https://secure.gravatar.com/avatar/0fa97865a0e1ab36152b6b2299eedb49.jpg?s=120&d=mm&r=g)
This looks very much like misconfiguration. Make sure configuration has the correct format & filename :)
participants (3)
-
Adam Armstrong
-
Bruce-Young Majola
-
Yucong Sun (叶雨飞)