Search found 8 matches

by cchilderhose
Mon Feb 02, 2015 2:51 pm
Forum: Nagios XI
Topic: Remote MySQL Connection
Replies: 20
Views: 8404

Re: Remote MySQL Connection

This document might have some helpful information as well: http://exchange.nagios.org/directory/Documentation/Nagios-XI-Documentation/Database-Access-For-Development-Purposes/details This document helped tremendously. I followed the section required to create a user and open firewall. I can now acc...
by cchilderhose
Fri Jan 30, 2015 2:16 pm
Forum: Nagios XI
Topic: Remote MySQL Connection
Replies: 20
Views: 8404

Re: Remote MySQL Connection

The reset article worked great and I got the root user password reset in MySQL.

Now I ran the commands for remote access in the original article and they were accepted. Now I still get the first message I posted about.

See attached.
NagiosConnectionError.png
by cchilderhose
Fri Jan 30, 2015 1:34 pm
Forum: Nagios XI
Topic: Remote MySQL Connection
Replies: 20
Views: 8404

Re: Remote MySQL Connection

I tried to log in as Root to MySQL but get this -

ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)

So why is that and how do I get around it?
by cchilderhose
Fri Jan 30, 2015 11:35 am
Forum: Nagios XI
Topic: Remote MySQL Connection
Replies: 20
Views: 8404

Re: Remote MySQL Connection

Thanks Brian.

What user do I use to run the UPDATE commands? The user nagiosql does not have the update permission.
by cchilderhose
Fri Jan 30, 2015 8:54 am
Forum: Nagios XI
Topic: Remote MySQL Connection
Replies: 20
Views: 8404

Re: Remote MySQL Connection

Here is the output from each command - mysql> show databases; +--------------------+ | Database | +--------------------+ | information_schema | | nagiosql | | test | +--------------------+ mysql> use nagiosql Reading table information for completion of table and column names You can turn off this fe...
by cchilderhose
Thu Jan 29, 2015 3:58 pm
Forum: Nagios XI
Topic: Remote MySQL Connection
Replies: 20
Views: 8404

Re: Remote MySQL Connection

Here is the command that I am running and error - mysql> update db set Host='X.X.X.X' where Db='nagiosql'; ERROR 1046 (3D000): No database selected If I then select the database 'nagiosql' I then get error - mysql> update db set Host='X.X.X.X' where Db='nagiosql'; ERROR 1146 (42S02): Table 'nagiosql...
by cchilderhose
Thu Jan 29, 2015 3:03 pm
Forum: Nagios XI
Topic: Remote MySQL Connection
Replies: 20
Views: 8404

Re: Remote MySQL Connection

At Step #5 of granting access to my laptop IP and get the following error -

ERROR 1146 (42S02) : Table 'nagiosql.db' doesn't exist

How do I get around this?
by cchilderhose
Thu Jan 29, 2015 1:46 pm
Forum: Nagios XI
Topic: Remote MySQL Connection
Replies: 20
Views: 8404

Remote MySQL Connection

How do I access the MySQL database remotely? Is there commands to allow remote connections from applications like SQLyog? I have all credentials but when testing connections get error 2003 - Can't connect to MySQL serer on IP address (0) I need to pull data that the Web interface does not allow me t...