Since everything is ownd by root, mysql may not have search privileges
on some directories.
chown -R mysql /usr/local/mysql
may solve the problem.
Greg Cope wrote:
> Dear All
>
> I feel like a muppet asking this (my reputation will be ruined:-)
>
> Trying ./bin/mysqld_safe &
>
> In the error log:
>
> /usr/local/mysql-4.0.0-alpha-pc-linux-gnu-i686/bin/mysqld: Fatal error:
> Can't find messagefile
> 'mysql-4.0.0-alpha-pc-linux-gnu-i686/share/mysql/english/errmsg.sys'
>
> A strace gives the line:
>
> open("mysql-4.0.0-alpha-pc-linux-gnu-i686/share/mysql/english/errmsg.sys",
> O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
>
> Yet:
>
> [20:19:10 root@duck mysql]$ ls
> ChangeLog bin configure data include lib man scripts share
> support-files
> [20:21:43 root@duck mysql]$ ls -l share/mysql/english/errmsg.sys
> -rw-r--r-- 1 root root 11334 Oct 11 22:04
> share/mysql/english/errmsg.sys
> [20:33:26 root@duck mysql]$ pwd
> /usr/local/mysql
>
> This passes mysql-test/mysql-test-run.
>
> Its late, what I am doing wrong ... Clues on a postcard ?
>
> Thanks
>
> Greg
>
> ---------------------------------------------------------------------
> Before posting, please check:
> http://www.mysql.com/manual.php (the manual)
> http://lists.mysql.com/ (the list archive)
>
> To request this thread, e-mail <mysql-thread88093@stripped>
> To unsubscribe, e-mail
> <mysql-unsubscribe-gerald_clark=suppliersystems.com@stripped>
> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
--
Gerald L. Clark
gerald_clark@stripped