barbondev / mysql4-doctrine-driver
MySQL 4.* Driver for Doctrine DBAL
Installs: 805
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 1
Open Issues: 0
pkg:composer/barbondev/mysql4-doctrine-driver
Requires
- php: >=5.3.3
- doctrine/dbal: 2.5.*
Requires (Dev)
- doctrine/dbal: 2.5.*@dev
- phpunit/phpunit: >=3.7
This package is not auto-updated.
Last update: 2025-09-27 19:37:33 UTC
README
Summary
MySQL 4 driver for integrating your legacy databases from within the Doctrine ORM. We recommend that you upgrade to the latest version of MySQL as soon as you can to avoid the use of this driver!
Installation
We recommend installing this library via Composer.
"require": {
...
"barbondev/mysql4-doctrine-driver": "dev-master"
},
Usage
Doctrine driver to allow ORM access to a MySQL 4.* database.
Symfony app/config/config.yml
configuration:
doctrine:
dbal:
driver_class: Barbondev\MySQL4DoctrineDriver\Doctrine\DBAL\Driver\PDOMySQL4\Driver
host: %database_host%
port: %database_port%
dbname: %database_name%
user: %database_user%
password: %database_password%
charset: UTF8
Note that driver type is replaced with the fully qualified namespace of the MySQL 4.* driver class