PHPackages                             geithware/debug-mysql-db - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Database &amp; ORM](/categories/database)
4. /
5. geithware/debug-mysql-db

ActiveTypo3-cms-extension[Database &amp; ORM](/categories/database)

geithware/debug-mysql-db
========================

Extends \\TYPO3\\CMS\\Typo3DbLegacy\\Database (former \\TYPO3\\CMS\\Core\\Database\\DatabaseConnection and t3lib\_db) to show Errors and Debug-Messages. Useful for viewing and debugging of sql-queries.

v1.9.4(7mo ago)2465[1 issues](https://github.com/franzholz/debug_mysql_db/issues)GPL-2.0-or-laterPHPPHP ^8.2

Since Jan 19Pushed 6mo ago1 watchersCompare

[ Source](https://github.com/franzholz/debug_mysql_db)[ Packagist](https://packagist.org/packages/geithware/debug-mysql-db)[ Docs](https://jambage.com)[ RSS](/packages/geithware-debug-mysql-db/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (10)Dependencies (1)Versions (42)Used By (0)

TYPO3 extension debug\_mysql\_db
================================

[](#typo3-extension-debug_mysql_db)

What is does
------------

[](#what-is-does)

- It transforms SQL error messages into debug messages or any function of your choice. This helps you to get rid of the output of SQL error messagein the Frontend or Backend.
- It calculates the time for the performance of a SQL query.
- You can filter to see only buggy SQL queries.
- You can filter to see only SQL queries which take a long time.

Requirements
------------

[](#requirements)

- 1.9.0 and later require PHP 8 and TYPO3 13.x
- 1.8.0 works for TYPO3 12
- 1.5.0 works for TYPO3 11
- 1.2.1 works for TYPO3 10

Users manual
------------

[](#users-manual)

Just install the extension in the Extension Manager. Then all database queries made by the PHP code of TYPO3 or of all TYPO3 extensions which use any TYPO3 method to make the database calls, will be caught. They are checked for errors. Time measurements are done on them. The result of the database queries can be seen directly on the TYPO3 site. But you can configure it to use any functions like sending via email or storing it into a file. An easier method is to use an additional debug extension as e.g. fh\_debug with it. By using additional extensions you can get a better and more understandable output.

Problems
--------

[](#problems)

- The debug output is not generated within some parts of the Install Tool.see [TYPO3 Core issue no. 99434](https://forge.typo3.org/issues/99434/)Solution: See file ServiceProvider.diff in the Patches subfolder.

Installtool Requirement
-----------------------

[](#installtool-requirement)

The class override mechanism has been deactivated in the TYPO3 core for the install tool.

To reactivate it again you must overwrite the TYPO3 Core file `sysext/install/Classes/ServiceProvider.php` by the file `debug_mysql_db/Patches/TYPO3/sysext/install/Classes/ServiceProvider.php`. Or you apply the patch file `debug_mysql_db/Patches/ServiceProvider.diff` on the TYPO3 core.

Alternatively you can use "post-install-cmd" or "post-autoload-dump" and a file copy method in your composer.json. See [Defining scripts](https://getcomposer.org/doc/articles/scripts.md#defining-scripts) .

###  Health Score

46

—

FairBetter than 93% of packages

Maintenance56

Moderate activity, may be stable

Popularity16

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity88

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~76 days

Recently: every ~12 days

Total

38

Last Release

226d ago

Major Versions

v0.9.3 → v1.0.02021-01-16

PHP version history (2 changes)v1.5.0PHP ^8.1

v1.9.4PHP ^8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/4c36ec751f4996bdd88bcfca2669db1d0762e765cb449b33d47aed99ef1e1b1c?d=identicon)[franzholz](/maintainers/franzholz)

---

Top Contributors

[![franzholz](https://avatars.githubusercontent.com/u/4855265?v=4)](https://github.com/franzholz "franzholz (97 commits)")

---

Tags

debugmysqlquerytypo3

### Embed Badge

![Health badge](/badges/geithware-debug-mysql-db/health.svg)

```
[![Health](https://phpackages.com/badges/geithware-debug-mysql-db/health.svg)](https://phpackages.com/packages/geithware-debug-mysql-db)
```

###  Alternatives

[aura/sqlquery

Object-oriented query builders for MySQL, Postgres, SQLite, and SQLServer; can be used with any database connection library.

4572.9M34](/packages/aura-sqlquery)[envms/fluentpdo

FluentPDO is a quick and light PHP library for rapid query building. It features a smart join builder, which automatically creates table joins.

925511.7k13](/packages/envms-fluentpdo)[lichtner/fluentpdo

FluentPDO is a quick and light PHP library for rapid query building. It features a smart join builder, which automatically creates table joins.

921274.8k6](/packages/lichtner-fluentpdo)[fpdo/fluentpdo

FluentPDO is a quick and light PHP library for rapid query building. It features a smart join builder, which automatically creates table joins.

921244.9k7](/packages/fpdo-fluentpdo)[nilportugues/sql-query-builder

An elegant lightweight and efficient SQL QueryInterface BuilderInterface supporting bindings and complicated query generation.

425239.4k6](/packages/nilportugues-sql-query-builder)[clancats/hydrahon

Fast &amp; standalone PHP MySQL Query Builder library.

281205.5k5](/packages/clancats-hydrahon)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
