PHP Classes

PHP MySQL Error reporting: Process errors of MySQL database connections

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 759 All time: 4,448 This week: 455Up
Version License Categories
mysql_conn_class 1.0Artistic LicenseDatabases
Description 

Author

This is a simple class that can be used to process errors that occur during an access to a MySQL database.

The class can establish a MySQL database server connection using given database connection parameters.

It also provides means to process any errors of execution of failed MySQL database access operations that use the connection established by the class.

The class can either log the errors in a given file or send the error messages by e-mail to a given address.

The class can generate error messages in either English and Portuguese from the error numbers.

Picture of José Augusto Ferreira Franco
  Performance   Level  
Name: José Augusto Ferreira ... <contact>
Classes: 15 packages by
Country: Portugal Portugal
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files (2)  
File Role Description
Plain text file mysql_error_reporter Class The class itself
Accessible without login Plain text file test_file.php Example A simple example , that tests the class

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:759
This week:0
All time:4,448
This week:455Up