Welcome to Pandora FMS Community!

Find answers, ask questions, and connect with our community around the world.

Welcome to Pandora FMS Community Forums Community support Could not connect to SQL database

  • Could not connect to SQL database

    Posted by ogi on September 6, 2007 at 17:33

    I keep getting this error if i want to add or edit or remove existing users. I have checked this file phpradmin.conf.php and information is correct. I already had phpradmin database int there and i am not sure if this database differs in a newer release …. any help please.

    kolszak replied 17 years, 1 month ago 3 Members · 2 Replies
  • 2 Replies
  • soportec

    Member
    December 11, 2007 at 12:28
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    I had the same problem. You had to manually

    nano /usr/local/phpradmin/conf/dialup_admin/admin.conf
    nano /usr/local/phpradmin/www/dialup_Admin.conf.php

    for the first time and change the folder and user values…

  • kolszak

    Member
    January 3, 2008 at 16:23
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    I had the same problem. You had to manually

    nano /usr/local/phpradmin/conf/dialup_admin/admin.conf
    nano /usr/local/phpradmin/www/dialup_Admin.conf.php

    for the first time and change the folder and user values…

    I have this same problem

    Warning: file() expects parameter 2 to be long, string given in /var/www/localhost/htdocs/radadmin/www/install/setup.php
    Table ‘phpradmin.user’ doesn’t exist

    I’m manualy editing config files, but install script didin’t create this table in MySQL, some pearson known a solution? I have Gentoo and my version of PHP – 5.x (probably this is problem)
    Sorry for my bad English 🙂

    PS Script create Database on MySQL, don’t work only table creation.

    Best regards
    Karol Olszewski