#33 closed Enhancement (wontfix)
Specifying a MySQL socket for BOINC server database?
Reported by: | KSMarksPsych | Owned by: | davea |
---|---|---|---|
Priority: | Minor | Milestone: | Undetermined |
Component: | Server - Setup | Version: | |
Keywords: | Cc: |
Description
Posted by: Date: 2:01 PM 06-28-2005 For the project in question, the means by which the BOINC server software may connect to the MySQL software is a socket (which is different than the socket specified in /etc/my.cnf). Currently, there is no clear way to specify the use of this arbitrary socket during project setup. Currently, my fix is to change db_base.py:do_connect() and db_base.C:DB_CONN.open() to treat the database host parameter to accept these types of values: "host", "host:port", and ":/path/to/socket" (the behind-the-scenes MySQL API does allow arbitrary hosts, ports, and sockets). However, this really isn't a permanent solution, and I would also prefer not to have to make those edits every time I ever update the BOINC software.
P.S. This is actually in the server-side distribution all the way up to 4.68.
Can whoever posted this please send me the diffs? - David