Ad Widget

Collapse

unknown database 'demo'

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Philippe
    Member
    • Oct 2004
    • 77

    #1

    unknown database 'demo'

    hi,

    maybe a stupid question...
    i updated from 1.1 to 1.1.4

    - did ./configure --with .....
    - changed apache frontends.
    - /etc/zabbix/.... files are still the same

    when i go with my browser to .../zabbix/
    i get:
    error connecting to database [Unknown database 'demo']

    in /etc/zabbix/zabbix_server.conf i can find my correct credentials and database name.

    i also renamed /etc/zabbix before the upgrade and after ./configure and make install, there was NO new /etc/zabbix directory made ??

    help please.
    Phil.
    Last edited by Philippe; 16-11-2006, 16:18.
  • Calimero
    Senior Member
    • Nov 2006
    • 481

    #2
    Does /path/to/php/frontend/include/db.inc.php have the right values, especially these:
    $DB_SERVER ="127.0.0.1";
    $DB_TYPE ="MYSQL";
    $DB_SERVER ="127.0.0.1";
    $DB_DATABASE ="your_database";
    $DB_USER ="your_user";
    $DB_PASSWORD ="your_password";


    If you overwrite that file with the default file from the tarball ... your credentials are gone.

    Comment

    • Philippe
      Member
      • Oct 2004
      • 77

      #3
      i have it working now, thnx!

      Comment

      Working...