Github messages for voidlinux
 help / color / mirror / Atom feed
From: classabbyamp <classabbyamp@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [ISSUE] [CLOSED] mysql_install_db does not know the correct MariaDB installation directory
Date: Wed, 17 May 2023 07:42:21 +0200	[thread overview]
Message-ID: <20230517054221.RG2h5OgEpmZEB--Mr_vciscyVAd_1ycaZMTK_z8qYAc@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-43777@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 1181 bytes --]

Closed issue by llunacb on void-packages repository

https://github.com/void-linux/void-packages/issues/43777

Description:
### Is this a new report?

Yes

### System Info

Void 6.1.25_1 x86_64 AuthenticAMD notuptodate rrDDFFFF

### Package(s) Affected

mariadb-10.5.10_4

### Does a report exist for this bug with the project's home (upstream) and/or another distro?

_No response_

### Expected behaviour

A database can be successfully created without passing a `--basedir` option.

### Actual behaviour

The command gives an error:

`FATAL ERROR: Could not find //share/mysql/fill_help_tables.sql`

Considering what the path searched for looks like, beginning with `//share`, it would seem that the `/usr` part of the path has been removed somehow, maybe due to the way the program is compiled. The error can be fixed by specifying a `--basedir` option with a value of `/usr`.

### Steps to reproduce

```
$ mysql_install_db --datadir=/tmp/mariadb_test

FATAL ERROR: Could not find //share/mysql/fill_help_tables.sql
(...)

$ mysql_install_db --datadir=/tmp/mariadb_test --basedir=/usr

Installing MariaDB/MySQL system tables in '/tmp/mariadb_test' ...
(...)
```

      parent reply	other threads:[~2023-05-17  5:42 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-07  3:23 [ISSUE] " llunacb
2023-05-07 18:31 ` classabbyamp
2023-05-07 19:34 ` llunacb
2023-05-17  5:42 ` classabbyamp [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230517054221.RG2h5OgEpmZEB--Mr_vciscyVAd_1ycaZMTK_z8qYAc@z \
    --to=classabbyamp@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).