Hi all,
I'm a newbee with mysql.
I don't succed in starting mysqld when launching the server with mysql.server under linux Slackware.
I don't understand what is wrong, all directories and permissions are ok.
My my.cnf is:
[mysqld]
tmpdir=/tmp
datadir=/usr/local/mysql/data
basedir=/usr/local/mysql
socket=/tmp/mysql.sock
user=mysql
And the log error file:
##root@yoyo[/usr/local/mysql/data]$ more yoyo.err
020814 14:56:08 mysqld started
020814 14:56:08 /usr/local/mysql/bin/mysqld: Can't create/write to file '/usr/local/mysql/data' (Errcode: 21)
020814 14:56:08 /usr/local/mysql/bin/mysqld: Can't find file: './mysql/host.frm' (errno: 13)
020814 14:56:08 /usr/local/mysql/bin/mysqld: Error on delete of '/usr/local/mysql/data' (Errcode: 13)
020814 14:56:08 mysqld ended
Can anyone help me ?
JC
I'm a newbee with mysql.
I don't succed in starting mysqld when launching the server with mysql.server under linux Slackware.
I don't understand what is wrong, all directories and permissions are ok.
My my.cnf is:
[mysqld]
tmpdir=/tmp
datadir=/usr/local/mysql/data
basedir=/usr/local/mysql
socket=/tmp/mysql.sock
user=mysql
And the log error file:
##root@yoyo[/usr/local/mysql/data]$ more yoyo.err
020814 14:56:08 mysqld started
020814 14:56:08 /usr/local/mysql/bin/mysqld: Can't create/write to file '/usr/local/mysql/data' (Errcode: 21)
020814 14:56:08 /usr/local/mysql/bin/mysqld: Can't find file: './mysql/host.frm' (errno: 13)
020814 14:56:08 /usr/local/mysql/bin/mysqld: Error on delete of '/usr/local/mysql/data' (Errcode: 13)
020814 14:56:08 mysqld ended
Can anyone help me ?
JC