Red Hat Bugzilla – Bug 71812
Mod_auth_mysql does not allow the specification of the port number mysqld is running on
Last modified: 2007-04-18 12:45:38 EDT
Description of Problem:
RFE: Provide support for mod_auth_mysql to connect to a MySQL database running
on any port.
mod_auth_mysql uses mysql_connect() to connect to the db. This function
according to the MySQL documentation is deprecated and does not allow the
selection of a port number.
Version-Release number of selected component (if applicable):
1.11 included with 7.3, applies to new versions as well.
Steps to Reproduce:
2. Configure Apache to use
3. notice that there is no way to specify a port number.
must have mysql running on port 3306 to use
There is no reason why one shouldn't be able to run mysqld on any port they want
and still use this module.
Patch included :)
Adds 1 optional parameter to the module:
AuthMySQLPort 3306 # port number option, defaults to 3306 if not specified.
Created attachment 71464 [details]
patch to add port number specification
Fixed in update to upstream 2.6.1 release.