<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_UNCONFIRMED "
title="UNCONFIRMED - FILEOPEN Base Cannot connect to mysql"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=134982#c5">Comment # 5</a>
on <a class="bz_bug_link
bz_status_UNCONFIRMED "
title="UNCONFIRMED - FILEOPEN Base Cannot connect to mysql"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=134982">bug 134982</a>
from <span class="vcard"><a class="email" href="mailto:iplaw67@tuta.io" title="Alex Thurgood <iplaw67@tuta.io>"> <span class="fn">Alex Thurgood</span></a>
</span></b>
<pre>(In reply to Alex Thurgood from <a href="show_bug.cgi?id=134982#c4">comment #4</a>)
<span class="quote">> There you have your answer :
>
> - Server : Localhost via UNIX socket
>
> socket = /opt/lampp/var/mysql/mysql.sock
>
> Your server is only providing the Unix socket connection.
>
> The fact that you can access it via your web browser using 127.0.0.1 or
> localhost is down to the way your phpmyadmin instance is configured, which
> redirects the call to the Unix socket.
>
>
> The msyql connection setup wizard used to allow you to specify the path to
> the Unix socket (this is not the same as the URL using an IP address), but I
> believe that this is now hardcoded to some usual default of a normally
> installed Linux mysql/MariaDB server, i.e. /var/local/tmp/ or some such
> directory, so:
>
> - either you create a symbolic link between your actual mysql Unix socket
> and the place where LO expects it to be (with appropriate privileges), or
> you reconfigure your server to create a Unix socket in the place where LO
> expects to find it.
>
> - or your reconfigure your mariadb server to use TCP/IP (see the
> bind-address entry) instead of acessing the Unix socket - this is generally
> done by editing the my/cnf file, but beware of the safety considerations in
> doing so (especially if you have access from outside your network into your
> LAN.</span >
You'll also need to restart your mariadb server once you've made the change to
the my.cnf file.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>