[MDEV-5688] When mysql_install_db fails it recommends using /usr/scripts/msqlbug to report a bug, but that file doesnt exist. Created: 2014-02-16 Updated: 2014-02-18 Resolved: 2014-02-18 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | 5.1.67, 5.2.14, 5.3.12, 5.5.35, 10.0.8 |
| Fix Version/s: | 5.5.36, 10.0.9 |
| Type: | Bug | Priority: | Trivial |
| Reporter: | Andrew McDonnell | Assignee: | Sergei Golubchik |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Debian wheezy amd64 using MariaDB debian repository packages |
||
| Issue Links: |
|
||||||||
| Description |
|
For various reasons I am encountering errors when attempting to setup a database (Note, those problems are not the subject of this bug) However, the error message suggests running file /usr/scripts/mysqlbug which does not exist (neither does directory /usr/scripts) Installation was from APT repository http://mirror.aarnet.edu.au/pub/MariaDB/repo/10.0/debian version 10.0.8+maria-1~wheezy, as per the instructions at https://downloads.mariadb.org/mariadb/repositories/#mirror=aarnet_pty_ltd&distro=Debian&distro_release=wheezy&version=10.0 I eventually found the file at /usr/bin/mysqlbug provided by mariadb-client-10.0 Example:
|
| Comments |
| Comment by Andrew McDonnell [ 2014-02-16 ] | ||||||||||||||||
|
This is a bit odd, because looking at mysql_install_db, $scriptdir is the shell variable that must be being set to /usr/scripts, which should only happen when $srcdir is not an empty string; but $srcdir is set to "" at the top of the script and not overridden | ||||||||||||||||
| Comment by Andrew McDonnell [ 2014-02-16 ] | ||||||||||||||||
|
There is a second error as well:
This can probably be fixed with the following patch at least:
|