Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] mysql_install_db does not know the correct MariaDB installation directory
@ 2023-05-07  3:23 llunacb
  2023-05-07 18:31 ` classabbyamp
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: llunacb @ 2023-05-07  3:23 UTC (permalink / raw)
  To: ml

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

New 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' ...
(...)
```

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: mysql_install_db does not know the correct MariaDB installation directory
  2023-05-07  3:23 [ISSUE] mysql_install_db does not know the correct MariaDB installation directory llunacb
@ 2023-05-07 18:31 ` classabbyamp
  2023-05-07 19:34 ` llunacb
  2023-05-17  5:42 ` [ISSUE] [CLOSED] " classabbyamp
  2 siblings, 0 replies; 4+ messages in thread
From: classabbyamp @ 2023-05-07 18:31 UTC (permalink / raw)
  To: ml

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

New comment by classabbyamp on void-packages repository

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

Comment:
can you [test](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#testing-pull-requests) #43794 ?

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: mysql_install_db does not know the correct MariaDB installation directory
  2023-05-07  3:23 [ISSUE] mysql_install_db does not know the correct MariaDB installation directory llunacb
  2023-05-07 18:31 ` classabbyamp
@ 2023-05-07 19:34 ` llunacb
  2023-05-17  5:42 ` [ISSUE] [CLOSED] " classabbyamp
  2 siblings, 0 replies; 4+ messages in thread
From: llunacb @ 2023-05-07 19:34 UTC (permalink / raw)
  To: ml

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

New comment by llunacb on void-packages repository

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

Comment:
> can you [test](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#testing-pull-requests) #43794 ?

it works, thanks!

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [ISSUE] [CLOSED] mysql_install_db does not know the correct MariaDB installation directory
  2023-05-07  3:23 [ISSUE] mysql_install_db does not know the correct MariaDB installation directory llunacb
  2023-05-07 18:31 ` classabbyamp
  2023-05-07 19:34 ` llunacb
@ 2023-05-17  5:42 ` classabbyamp
  2 siblings, 0 replies; 4+ messages in thread
From: classabbyamp @ 2023-05-17  5:42 UTC (permalink / raw)
  To: ml

[-- 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' ...
(...)
```

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-05-17  5:42 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-07  3:23 [ISSUE] mysql_install_db does not know the correct MariaDB installation directory llunacb
2023-05-07 18:31 ` classabbyamp
2023-05-07 19:34 ` llunacb
2023-05-17  5:42 ` [ISSUE] [CLOSED] " classabbyamp

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).