Apache OpenOffice (AOO) Bugzilla – Issue 116286
Browse for MySQL direct connection socket
Last modified: 2017-05-20 11:33:15 UTC
The field specifying the connection socket in MySQL connection wizard (direct) should be a file selector field, not a text field. It should allow browsing for the local MySQL socket. The socket path should be preset to /var/run/mysql.
Actually, /var/run/mysql/mysql.sock.
Change component to none, it is Base UI enhancement not a native connector bug.
(In reply to comment #1) > Actually, /var/run/mysql/mysql.sock In what system is that the default location? I think we should collect most common default locations, check which one exists, and offer this one as default. On Fedora it is /var/lib/mysql/mysql.sock but it can be modified in /etc/my.cnf under [mysqld] with socket=SOCKET_FILE On MacOS X it can be /var/mysql/mysql.sock or /tmp/mysql.sock according to http://dev.mysql.com/doc/refman/5.5/en/macosx-installation-notes.html An array could contain: /var/lib/mysql/mysql.sock /var/run/mysql/mysql.sock /var/mysql/mysql.sock /tmp/mysql.sock
(In reply to comment #3) > (In reply to comment #1) > > Actually, /var/run/mysql/mysql.sock > > In what system is that the default location? openSUSE here
I'm afraid there is a bug in the office code that doesn't allow to select a socket with the office dialog (the Gtk file dialog works fine). See attachment 79574 [details] The macro in attachment 79575 [details] shows the logic that should be user in this bug for MySQL server socket selection.
Reset assigne to the default "issues@openoffice.apache.org".