Hi all,
I'm a newbee with mysql.
I got mysql-3.23.52, and I used gcc 2.95.3, and make 3.79.1.
I don't succed in starting mysqld under Linux Slakware 8.0, when launching the server with:
$/etc/mysql.server start
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 got mysql-3.23.52, and I used gcc 2.95.3, and make 3.79.1.
I don't succed in starting mysqld under Linux Slakware 8.0, when launching the server with:
$/etc/mysql.server start
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