barbondev / mysql4-doctrine-driver
MySQL 4.* Driver for Doctrine DBAL
dev-master
2016-03-24 14:07 UTC
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-03-01 17:04:02 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