fuel / core

Fuel PHP Framework - The core of the Fuel v1 framework
http://fuelphp.com
813 stars 345 forks source link

DB: MySQL connection.php does not have a port number option, though docs say it does #216

Closed markbao closed 13 years ago

markbao commented 13 years ago

Database: MySQL connection.php doesn't have a port number option, even though the docs say they do.

Doc page: http://fuelphp.com/docs/classes/database/introduction.html

I am looking here: https://github.com/crynobone/fuelphp/blob/master/fuel/core/classes/database/mysql/connection.php

@ commit 205309f478628ada3603

Temporary workaround is to set the hostname to "hostname:port" like "localhost:3306".

I'll try to submit a patch if I have a chance.

WanWizard commented 13 years ago

Bug has been fixed for both the MySQL and MySQLi drivers