PHP Classes

MySQL Connection Exceptions: Connect to MySQL and throw exceptions on error

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: 234 All time: 8,112 This week: 206Up
Version License PHP version Categories
mysql-exceptions 1.0BSD License5PHP 5, Databases
Description 

Author

This is is a very simple class that can connect to MySQL and throw exceptions on error.

It can connect to a MySQL database server given the database host address, user name and password.

The class throws an exception if the connection fails.

Picture of philip njuguna
Name: philip njuguna <contact>
Classes: 3 packages by
Country: Kenya Kenya

 

  Files folder image Files (1)  
File Role Description
Accessible without login Plain text file sql.php Class conn

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:234
This week:0
All time:8,112
This week:206Up