Bug #12007 I have no idea what I should fill in here, sorry
Submitted: 18 Jul 2005 14:20 Modified: 18 Jul 2005 15:51
Reporter: Denton Spencer Email Updates:
Status: Not a Bug Impact on me:
None 
Category:MySQL Server Severity:S1 (Critical)
Version:3.23.58 OS:Linux (fedora core 2)
Assigned to: CPU Architecture:Any

[18 Jul 2005 14:20] Denton Spencer
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.
[18 Jul 2005 15:47] Aleksey Kishkin
did you run mysql_install_db?
[18 Jul 2005 15:51] Aleksey Kishkin
I also suspect you didn't set proper access rights for datadir. please use
http://dev.mysql.com/doc/mysql/en/quick-install.html
[18 Jul 2005 15:55] Denton Spencer
Yes ,of course I ran mysql_install_db.