Catacomb should have an Apache directive for
specifying a non-default DBMS port number.
The need for this feature is obvious. Of
course, some DBMS client API's offer other kinds of parameters. Even MySQL
also has unixsocket and clientflag in its client API (this is already TODO'ed
in dbms_mysql.c) but port is a very common parameter among DBMS client
For database access to MySQL, Catacomb currently
So, as a suggested name, adding a directive with a
which would specify a port number would fulfill
The shortcut currently taken in the code is to pass
a value of zero to get the default port:
dbms.c : dbms_opendb() :
dbms_create(&(d->db), d->db_id, d->db_pass, d->db_name,
With that and the example of the existing
directives, its obvious how to implement the
rest of this new directive.