Description:
I have used source distibution of mysql and I used configure like this:
./configure --prefix=/mnt/d/mysql --with-php=/mnt/d/php. So as You can see I wanted to install mysql on a seperate drive with PHP ,of course. After that make and make install. There were no bug reports at that time. Afterwards mysql_install_db .It seemed fine too, but i noticed that there isn,t var directory in mysql so i created it myself. Than I launched safe_mysqld and I got messege:
"Starting mysqld deamon with databases from /mnt/d/mysql/var
mysqld ended" and nothing more. In var directory i have files like: wymuszonko-bin.001, wymuszonko-bin.002, wymuszonko_bin.index and wymuszonko.err. Of course wymuszonko is my host name :) . I also read wymuszonko.err ,this is what i got:
050716 20:03:43 mysqld started
/mnt/d/mysql/libexec/mysqld: File './wymuszonko-bin.001' not found (Errcode: 13)
050716 20:03:43 Could not use wymuszonko-bin for logging (error 13)
050716 20:03:43 /mnt/d/mysql/libexec/mysqld: Can't create/write to file '/mnt/d/mysql/var/wymuszonko.pid' (Errcode: 13)
050716 20:03:43 /mnt/d/mysql/libexec/mysqld: Table 'mysql.host' doesn't exist
050716 20:03:43 /mnt/d/mysql/libexec/mysqld: Error on delete of '/mnt/d/mysql/var/wymuszonko.pid' (Errcode: 2)
050716 20:03:43 mysqld ended
050716 20:07:05 mysqld started
050716 20:07:05 /mnt/d/mysql/libexec/mysqld: Table 'mysql.host' doesn't exist
050716 20:07:05 mysqld ended
050716 20:11:42 mysqld started
050716 20:11:42 /mnt/d/mysql/libexec/mysqld: Table 'mysql.host' doesn't exist
050716 20:11:42 mysqld ended
050716 21:42:07 mysqld started
/mnt/d/mysql/libexec/mysqld: File './wymuszonko-bin.003' not found (Errcode: 13)
050716 21:42:07 Could not use wymuszonko-bin for logging (error 13)
050716 21:42:07 /mnt/d/mysql/libexec/mysqld: Can't create/write to file '/mnt/d/mysql/var/wymuszonko.pid' (Errcode: 13)
050716 21:42:07 /mnt/d/mysql/libexec/mysqld: Table 'mysql.host' doesn't exist
050716 21:42:07 /mnt/d/mysql/libexec/mysqld: Error on delete of '/mnt/d/mysql/var/wymuszonko.pid' (Errcode: 2)
050716 21:42:07 mysqld ended
That's all. Thank You for any help.
How to repeat:
Read Description
Suggested fix:
I have no idea how to fix ,that's why I'm asking You.