httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Naveen Rawat" <>
Subject RE: SSL-enabled interaction with MySQL
Date Tue, 01 May 2007 06:23:52 GMT


Huge regards for your efforts. I am wee bit taking more time as I am also
looking out for other options like using some SSL-supportive intermediaries;


I used the updated source and now the error has become SSL connection

[Tue May 01 11:15:58 2007] [error] [client] MOD_AUTH_MYSQL:
MYSQL ERROR: SSL connection error :: connect to DB
[Tue May 01 11:15:58 2007] [error] [client] host
(localhost.localdomain) not found in db
[Tue May 01 11:15:58 2007] [crit] [client] configuration error:
couldn't check user.  No user file?: /

> I'm just also hacking in the module, and I see this few lines above the
> mysql connect:
>    if (!conf->db_host || strcmp(conf->db_host,"localhost") == 0 || 
>      strcmp(conf->db_host,"") == 0) {
>        db_host = NULL;
>        db_port = 0;
>    } else {
>        db_host = conf->db_host;
>        db_port = conf->db_port;
>    }
> I think its now mandatory that you access the mysql server from another
> host than localhost to make sure you really establish a TCPIP
> connection...

I am still using the same box to for mysql server and my accessing code.
Moreover I am using my box's IP in conf->db_host.
		conf->db_host = "192.168.x.x";
Will not this allow a TCPIP connection? What about skipping this part of the
code at least for now?

What would you suggest, should I really have to access mysql from some other

The updates contain 5 new directives for SSL and ciphers. How these new
directives can be set in httpd.conf like other AuthMySql* directives ?

> and then I found a bug report related to this option:

I suppose this fixing at my end would need me to recompile my mysql. AM I

Thanks again,


View raw message