| Summary: | init.d script for mysqld is broken for mysql version 4.0.13 | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Simon Watson <simon> |
| Component: | Current packages | Assignee: | Gentoo Linux MySQL bugs team <mysql-bugs> |
| Status: | RESOLVED INVALID | ||
| Severity: | major | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
Simon Watson
2003-05-31 07:40:29 UTC
This can be fixed by editting the line in /etc/init.d/mysql reading:
start() { checkconfig || return 1 ebegin "Starting mysqld" /usr/bin/safe_mysqld >/dev/null 2>&1 & eend $?}
to:
start() { checkconfig || return 1 ebegin "Starting mysqld" /usr/bin/mysqld_safe >/dev/null 2>&1 & eend $?}
You failed to run etc-update and update the init.d file. etc-update was run after the emerge, and I selected the option to auto change all needed files automatically. I had the same problem after emerge. It turned out, that there was no /var/run/mysqld directory. I created it...but then "permission denied" while trying to open unix socket. "chown mysql.mysql /var/run/mysqld" fixed it :] |