PHPackages                             indieteq/indieteq-php-my-sql-pdo-database-class - 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. indieteq/indieteq-php-my-sql-pdo-database-class

ActiveLibrary[Database &amp; ORM](/categories/database)

indieteq/indieteq-php-my-sql-pdo-database-class
===============================================

A database class for MySQL with PDO

v1(11y ago)651382376[10 issues](https://github.com/wickyaswal/php-my-sql-pdo-database-class/issues)[2 PRs](https://github.com/wickyaswal/php-my-sql-pdo-database-class/pulls)PHPPHP &gt;=5.3.0

Since Dec 15Pushed 8y ago89 watchersCompare

[ Source](https://github.com/wickyaswal/php-my-sql-pdo-database-class)[ Packagist](https://packagist.org/packages/indieteq/indieteq-php-my-sql-pdo-database-class)[ RSS](/packages/indieteq-indieteq-php-my-sql-pdo-database-class/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (2)Used By (0)

I am not maintaining this repository anymore and I would like to request you to find a better repo or make a fork of this repository!
=====================================================================================================================================

[](#i-am-not-maintaining-this-repository-anymore-and-i-would-like-to-request-you-to-find-a-better-repo-or-make-a-fork-of-this-repository)

PDO Database Class
==================

[](#pdo-database-class)

A database class for PHP-MySQL which uses the PDO extension.

To use the class
----------------

[](#to-use-the-class)

#### 1. Edit the database settings in the settings.ini.php

[](#1-edit-the-database-settings-in-the-settingsiniphp)

### Note if PDO is loading slow change localhost to -&gt; 127.0.0.1 !

[](#note-if-pdo-is-loading-slow-change-localhost-to---127001-)

```
[SQL]
host = 127.0.0.1
user = root
password =
dbname = yourdatabase

```

#### 2. Require the class in your project

[](#2-require-the-class-in-your-project)

```
