You are viewing a plain text version of this content. The canonical link for it is here.
Posted to sysadmins@spamassassin.apache.org by Matthias Leisi <ma...@leisi.net> on 2025/05/26 12:39:47 UTC

SpamAssassin Bugzilla throws Perl error (and shows MySQL password)

The SA Bugzilla just threw an error and showed the full database connection string:

https://bz.apache.org/SpamAssassin/show_bug.cgi?id=8331

Software error:
DBI connect('host=127.0.0.1;database=sabugs','sabugsuser',...) failed: Can't connect to MySQL server on '127.0.0.1:3306' (111) at /usr/lib/x86_64-linux-gnu/perl5/5.34/DBI.pm line 691.
	DBI::__ANON__(undef, undef) called at /usr/lib/x86_64-linux-gnu/perl5/5.34/DBI.pm line 748
	DBI::connect("DBI", "dbi:mysql:host=127.0.0.1;database=sabugs", "sabugsuser", "#8BwMrW38gqggs592\$8z5ZGH6", HASH(0x55f1fa2a85f8)) called at /usr/share/perl5/DBIx/Connector.pm line 31
	DBIx::Connector::_connect(DBIx::Connector=HASH(0x55f1fa2a87c0)) called at /usr/share/perl5/DBIx/Connector.pm line 75
	DBIx::Connector::dbh(DBIx::Connector=HASH(0x55f1fa2a87c0)) called at (eval 204) line 17
	Bugzilla::DB::dbh(Bugzilla::DB::Mysql=HASH(0x55f1f9dad3d0)) called at Bugzilla/DB.pm line 64
	Bugzilla::DB::__ANON__(Bugzilla::DB::Mysql=HASH(0x55f1f9dad3d0), "SELECT schema_data, version FROM bz_schema") called at Bugzilla/DB.pm line 1495
	Bugzilla::DB::_bz_real_schema(Bugzilla::DB::Mysql=HASH(0x55f1f9dad3d0)) called at Bugzilla/DB.pm line 1232
	Bugzilla::DB::bz_column_info(Bugzilla::DB::Mysql=HASH(0x55f1f9dad3d0), "fielddefs", "obsolete") called at Bugzilla/Object.pm line 679
	Bugzilla::Object::_check_field("Bugzilla::Field", "obsolete", "match") called at Bugzilla/Object.pm line 345
	Bugzilla::Object::match("Bugzilla::Field", HASH(0x55f1f9e94320)) called at Bugzilla/Field.pm line 404
	Bugzilla::Field::match("Bugzilla::Field", HASH(0x55f1f9e94320)) called at Bugzilla.pm line 628
	Bugzilla::active_custom_fields("Bugzilla") called at Bugzilla/Bug.pm line 66
	Bugzilla::Bug::DB_COLUMNS("Bugzilla::Bug") called at Bugzilla/Object.pm line 900
	Bugzilla::Object::_get_db_columns("Bugzilla::Bug") called at Bugzilla/Object.pm line 107
	Bugzilla::Object::_load_from_db("Bugzilla::Bug", HASH(0x55f1f9d4b538)) called at Bugzilla/Object.pm line 82
	Bugzilla::Object::new("Bugzilla::Bug", HASH(0x55f1f9d4b538)) called at Bugzilla/Bug.pm line 341
	Bugzilla::Bug::new(undef, HASH(0x55f1f9d4b538)) called at Bugzilla/Bug.pm line 383
	Bugzilla::Bug::check("Bugzilla::Bug", HASH(0x55f1f9d4b538)) called at /var/www/bugzilla-sa/show_bug.cgi line 54
 at /usr/share/perl5/DBIx/Connector.pm line 31.

Error noticed 2025-05-26 ca between 12:25 and 12:30 UTC. Currently it does not show the error any more.

-- 
Matthias Leisi
Katzenrütistrasse 68, 8153 Rümlang
Mobile +41 79 377 04 43
matthias@leisi.net