Bug 71812

Summary: Mod_auth_mysql does not allow the specification of the port number mysqld is running on
Product: [Retired] Red Hat Linux Reporter: Mike Gahagan <mgahagan>
Component: mod_auth_mysqlAssignee: Nalin Dahyabhai <nalin>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 7.3   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: 2.6.1-2 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-11-01 13:37:31 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
patch to add port number specification none

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.