We've moved to a new support system!
The Nagios Answer Hub is a place where you can get help with technical questions from our experts. There, you can quickly open tickets and join discussion boards.
Request Nagios Answer Hub access here: https://info.nagios.com/answer-hub-access-new-users
After completing the access form, you will be given access to a portal where new tickets can be created. We will keep the old customer forum sections and ticket system available for current cases to be resolved.
VictorJohnsonandroni wrote:Are you sure that you DB engine is ON? And that user is without password? Maybe is root root?
And little tip : If your string shouldnt be interpreted use ' instead " . It will faster. For example:
define('DB_USER', 'root');
define('DB_PASSWORD', '');
$DB_SERVER = localhost';
$DB_DATABASE = 'app-db';
VictorJohnsonandroni wrote:Seems pretty clear to me.
this is what your query looks like:
INSERT INTO servers (servername, mxwindow, reboot, environment, patchday, OS, GCM, InitialRemediation, time, remediation, category, updatesneeded, notes) values (:servername, :mxwindow, :reboot, :environment, :patchday, :OS, :GCM, :InitialRemediation, :time, :remediation, :category, :updatesneeded, :notes)
but using :variable is a reference.
You need to still bind values to said references.
Users browsing this forum: Google [Bot] and 16 guests