<feed xmlns='http://www.w3.org/2005/Atom'>
<title>packages/utils/mariadb/files, branch master</title>
<subtitle>Mirror of packages feed</subtitle>
<id>https://git.openwrt.org/feed/packages/atom?h=master</id>
<link rel='self' href='https://git.openwrt.org/feed/packages/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/'/>
<updated>2023-12-22T12:09:27Z</updated>
<entry>
<title>mariadb: minor whitespace and typo fixes</title>
<updated>2023-12-22T12:09:27Z</updated>
<author>
<name>Michael Heimpold</name>
</author>
<published>2023-12-20T09:00:08Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=357fa2930c9de2f7041302083941421361536f5b'/>
<id>urn:sha1:357fa2930c9de2f7041302083941421361536f5b</id>
<content type='text'>
Signed-off-by: Michael Heimpold &lt;mhei@heimpold.de&gt;
</content>
</entry>
<entry>
<title>mariadb: Drop unused rundir fix socket dir perms</title>
<updated>2022-10-24T18:15:36Z</updated>
<author>
<name>Michal Hrusecky</name>
</author>
<published>2022-10-21T20:43:52Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=8f6831b64b89243e7c1be5948f33e6737f7ddfc3'/>
<id>urn:sha1:8f6831b64b89243e7c1be5948f33e6737f7ddfc3</id>
<content type='text'>
We had been creating "rundir" but it was never used, probably leftover
from some removed function. At the same time, we were setting quite
strict rights to the socket directory (while comments sugested
otherwise).

Signed-off-by: Michal Hrusecky &lt;michal@hrusecky.net&gt;
</content>
</entry>
<entry>
<title>mariadb: Check and fix datadir owner issues during upgrade</title>
<updated>2022-01-14T14:32:48Z</updated>
<author>
<name>Michal Hrusecky</name>
</author>
<published>2022-01-13T14:04:57Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=b41525cef4171c7f3200afc41dca5e3837cbd2ec'/>
<id>urn:sha1:b41525cef4171c7f3200afc41dca5e3837cbd2ec</id>
<content type='text'>
If you are migrating to MariaDB package, you might have old datadir
stored somewhere using different setup with different users. If you
trust us enough to enable autoupgrade, you probably trust us enough to
chown your datadir as well. This can prevent some potential issues.

Signed-off-by: Michal Hrusecky &lt;michal.hrusecky@turris.com&gt;
</content>
</entry>
<entry>
<title>mariadb: Init script improvements</title>
<updated>2021-11-29T09:47:45Z</updated>
<author>
<name>Michal Hrusecky</name>
</author>
<published>2021-10-29T14:55:47Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=1be35284bb524c43a4e9448c5ead215fc3052efb'/>
<id>urn:sha1:1be35284bb524c43a4e9448c5ead215fc3052efb</id>
<content type='text'>
Update init script so other user/group can be used. Also make sure that
init script can actually create an empty database instead of forcing the
user to do it by hand. Other new feature is taking care of migration
of the database when upgrading the database.

Signed-off-by: Michal Hrusecky &lt;michal.hrusecky@turris.com&gt;
</content>
</entry>
<entry>
<title>mariadb: Cleanup and bump</title>
<updated>2020-10-14T09:08:42Z</updated>
<author>
<name>Michal Hrusecky</name>
</author>
<published>2020-10-13T06:55:36Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=c11f3948b8e91aff0d1cc170fd2118401c6a2832'/>
<id>urn:sha1:c11f3948b8e91aff0d1cc170fd2118401c6a2832</id>
<content type='text'>
Remove few no longer needed bits - like checking that datadir is defined
or mysqld_safe from server package and bumping revision after all the
init script cleanups.

Signed-off-by: Michal Hrusecky &lt;michal.hrusecky@turris.com&gt;
</content>
</entry>
<entry>
<title>mariadb: Use procd and run as user</title>
<updated>2020-10-14T07:47:53Z</updated>
<author>
<name>Michal Hrusecky</name>
</author>
<published>2020-10-13T06:52:42Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=595f0f1a2d6ee6ff5b777930ac42a3821c211b36'/>
<id>urn:sha1:595f0f1a2d6ee6ff5b777930ac42a3821c211b36</id>
<content type='text'>
Drop mysqld_safe and use procd instead. Also run as a user.

Signed-off-by: Michal Hrusecky &lt;michal.hrusecky@turris.com&gt;
</content>
</entry>
<entry>
<title>mariadb: Do not use mysqladmin in init</title>
<updated>2020-10-13T06:58:29Z</updated>
<author>
<name>Michal Hrusecky</name>
</author>
<published>2020-10-12T10:52:42Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=a01637ddf01a93d3012c5f2d11fe489063212731'/>
<id>urn:sha1:a01637ddf01a93d3012c5f2d11fe489063212731</id>
<content type='text'>
Rewrite init script as mysqladmin requires access to the MySQL which is
hard to guarantee. Use standard signals instead.

Signed-off-by: Michal Hrusecky &lt;michal.hrusecky@turris.com&gt;
</content>
</entry>
<entry>
<title>mariadb: Use defaults and change default datadir</title>
<updated>2020-10-13T06:58:29Z</updated>
<author>
<name>Michal Hrusecky</name>
</author>
<published>2020-10-12T08:50:51Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=7c628580a6ecaad9b044191dc24661fc291fb42e'/>
<id>urn:sha1:7c628580a6ecaad9b044191dc24661fc291fb42e</id>
<content type='text'>
Use /srv/mysql as default datadir as /var/lib/mysql is in tmpfs. This
doesn't affect any existing setup as up till now it had to be always
specified in configuration. That is addressed in the second part of this
commit - init script now uses even defaults as compiled in MariaDB so
not everything has to be specified in configuration file.

Signed-off-by: Michal Hrusecky &lt;michal.hrusecky@turris.com&gt;
</content>
</entry>
<entry>
<title>mariadb: Add shellcheck disable into init script</title>
<updated>2020-10-02T08:36:47Z</updated>
<author>
<name>Michal Hrusecky</name>
</author>
<published>2020-10-02T08:34:21Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=c35bd3aa8e73a6a666a7afda42a0a9d6a20ef1a3'/>
<id>urn:sha1:c35bd3aa8e73a6a666a7afda42a0a9d6a20ef1a3</id>
<content type='text'>
On few places, shellcheck gets confused by how some OpenWrt functions
work - especially load ones. Also on few places there are $options
variables that need not to be globbed. Could be rewritten better not to
need them, but I'll do major rewrites later in separate pull request.

Signed-off-by: Michal Hrusecky &lt;michal.hrusecky@turris.com&gt;
</content>
</entry>
<entry>
<title>mariadb: Use double quotes where possible</title>
<updated>2020-10-02T08:06:38Z</updated>
<author>
<name>Michal Hrusecky</name>
</author>
<published>2020-10-01T14:10:10Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=bb6e0d799c2ec2694037a03c0d614391339f1996'/>
<id>urn:sha1:bb6e0d799c2ec2694037a03c0d614391339f1996</id>
<content type='text'>
Just to make sure, add double quotes around strings and various
variables. In some cases it could prevent some issues, in other cases it
is just a good practice.

Signed-off-by: Michal Hrusecky &lt;michal.hrusecky@turris.com&gt;
</content>
</entry>
</feed>
