DBD::mysql::st execute failed: There is no 'root'@'10.252.6.%' registered

38 views
Skip to first unread message

rheoled

unread,
Sep 11, 2012, 8:55:10 PM9/11/12
to rose-db...@googlegroups.com
I am stumped.  I'm getting the following error:

$ perl ~/bin/z.pl
DBD::mysql::st execute failed: There is no 'root'@'10.252.6.%' registered at /users/www/perl5/lib/perl5/Rose/DB/Object/Manager.pm line 2006.
get_objects() - DBD::mysql::st execute failed: There is no 'root'@'10.252.6.%' registered at /users/www/perl5/lib/perl5/Rose/DB/Object/Manager.pm line 2006.
 at /users/www/perl5/lib/perl5/Rose/DB/Object/Manager.pm line 3088.
    Rose::DB::Object::Manager::get_objects('EIMS::DBI::Zabbix::DBO::TriggerView::Manager', 'nonlazy', 1, 'query', 'ARRAY(0x20bbb580)', 'sort_by', 'trigger_lastchange_epoch asc') called at /users/www/bin/z.pl line 91
    main::test called at /users/www/bin/z.pl line 125

I do not understand at all where 10.252.6.% is coming from.  It is not even close to the IP of this host, and not close the IP of the mysql server host - both of those are on 10.252.5.*.  I've grepped the code for it, both on this server and the mysql server, with no luck.  I've grepped the mysql config files, and see nothing matching 252.

This code used to work, code unchanged, for years.  Something changed after a mysqld restart, caused by that or coincident, I'm not sure.  I couldn't tell you what if anything changed on the mysqld config, but see no changes.

Any clues or ideas?

Thanks in advance.

John Siracusa

unread,
Sep 12, 2012, 7:47:11 AM9/12/12
to rose-db...@googlegroups.com
On Tue, Sep 11, 2012 at 8:55 PM, rheoled <goo...@bluepolka.net> wrote:
> I am stumped. I'm getting the following error:
>
> $ perl ~/bin/z.pl
> DBD::mysql::st execute failed: There is no 'root'@'10.252.6.%' registered at
> /users/www/perl5/lib/perl5/Rose/DB/Object/Manager.pm line 2006.
> get_objects() - DBD::mysql::st execute failed: There is no
> 'root'@'10.252.6.%' registered at
> /users/www/perl5/lib/perl5/Rose/DB/Object/Manager.pm line 2006.
> at /users/www/perl5/lib/perl5/Rose/DB/Object/Manager.pm line 3088.

If you haven't changed any of your Perl code, my guess is that this is
a MySQL server configuration issue.

-John
Reply all
Reply to author
Forward
0 new messages