Bug 71812 - Mod_auth_mysql does not allow the specification of the port number mysqld is running on
Summary: Mod_auth_mysql does not allow the specification of the port number mysqld is ...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: mod_auth_mysql
Version: 7.3
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Nalin Dahyabhai
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-08-19 17:03 UTC by Mike Gahagan
Modified: 2007-04-18 16:45 UTC (History)
0 users

Fixed In Version: 2.6.1-2
Clone Of:
Environment:
Last Closed: 2004-11-01 13:37:31 UTC
Embargoed:


Attachments (Terms of Use)
patch to add port number specification (2.14 KB, patch)
2002-08-19 17:05 UTC, Mike Gahagan
no flags Details | Diff

Description Mike Gahagan 2002-08-19 17:03:35 UTC
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.

How Reproducible:

always

Steps to Reproduce:
1. Install 
2. Configure Apache to use
3. notice that there is no way to specify a port number.

Actual Results:

must have mysql running on port 3306 to use

Expected Results:

There is no reason why one shouldn't be able to run mysqld on any port they want
and still use this module.

Additional Information

Patch included :)

Adds 1 optional parameter to the module:

AuthMySQLPort 3306  # port number option, defaults to 3306 if not specified.

Comment 1 Mike Gahagan 2002-08-19 17:05:45 UTC
Created attachment 71464 [details]
patch to add port number specification

Comment 2 Joe Orton 2004-11-01 13:37:31 UTC
Fixed in update to upstream 2.6.1 release.


Note You need to log in before you can comment on or make changes to this bug.