Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#9427 - /etc/rc.d/mysqld don't work properly with custom DATA dir

Attached to Project: Arch Linux
Opened by Ray/Unreal (ray) - Friday, 01 February 2008, 11:45 GMT
Last edited by Alexander Baldeck (kth5) - Tuesday, 12 February 2008, 12:24 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Alexander Baldeck (kth5)
Architecture All
Severity Medium
Priority Normal
Reported Version 2007.08-2
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

When used nonstandard (eg. /var/mysql) path @ /etc/conf.d/mysqld) script don't work properly. Small diff follows:

[root@io rc.d]# diff orig mysqld
39c39
< /usr/bin/mysqld_safe &>/dev/null &
---
> /usr/bin/mysqld_safe --datadir=$MYSQLD_ROOT &>/dev/null &

When passing datadir to mysql (throw mysqld_safe script) all works fine. Otherwide, mysql won't start.

Ray
This task depends upon

Closed by  Alexander Baldeck (kth5)
Tuesday, 12 February 2008, 12:24 GMT
Reason for closing:  Fixed

Loading...