Hello. I'm going to be crazy. But why I can't run myslq 3.23.51? I found this
error also in mysql 3.23.49, but no in mysql 3.23.41 that worked well: it
runs.
The error is clear:
root@linux:/usr/local/mysql > bin/safe_mysqld &
[1] 22688
root@linux:/usr/local/mysql > Starting mysqld daemon with databases from
/usr/local/mysql/var
020705 01:15:13 mysqld ended
I looked at log:
020705 01:15:13 mysqld started
/usr/local/mysql/libexec/mysqld: File './linux-bin.1' not found (Errcode: 13)
020705 1:15:13 Could not use linux-bin for logging (error 13)
020705 1:15:13 /usr/local/mysql/libexec/mysqld: Can't create/write to file
'/usr/local/mysql/var/linux.pid' (Errcode: 13)
020705 1:15:13 /usr/local/mysql/libexec/mysqld: Can't find file:
'./mysql/host.frm' (errno: 13)
020705 1:15:13 /usr/local/mysql/libexec/mysqld: Error on delete of
'/usr/local/mysql/var/linux.pid' (Errcode: 13)
020705 01:15:13 mysqld ended
I typed ls /usr/local/mysql/var and I got:
linux-bin.001 linux-bin.index linux.err mysql test
well I think linux-bin.1? But it's linux-bin.001, so I renamed the file, but
it doesn't work.
I'm a Linux SuSE 7.1 user. Can you send me a patch for mysql-3.23.51.tar.gz
please? Why don't you use the .tar.bz2 format that is smaller than .tar.gz?
I installed mysql so:
shell> groupadd mysql
shell> useradd -g mysql mysql
shell> gunzip < mysql-VERSION.tar.gz | tar -xvf -
shell> cd mysql-VERSION
shell> ./configure --prefix=/usr/local/mysql
shell> make
shell> make install
shell> scripts/mysql_install_db
shell> chown -R root /usr/local/mysql
shell> chown -R mysql /usr/local/mysql/var
shell> chgrp -R mysql /usr/local/mysql
shell> cp support-files/my-medium.cnf /etc/my.cnf
shell> /usr/local/mysql/bin/safe_mysqld --user=mysql &
Tell me how to provide to execute correctly mysql, please. I'm going crazy.
Please :-(
Gianni
(A Linux User)
| Thread |
|---|
| • bad source files of mysql-3.23.51 | Gianni | 4 Jul |