hi...
ich habe ein kleines problem mit meinem mysql-server ich bekomme ihn einfach nicht zum laufen.
kann mir da bitte jemand unter die arme greifen?
der webserver läuft hne probleme...
ich nutze mandriva 2007, habe mir ein tar.gz runtergeladen auf diesem link
hier
der genaue name ist "mysql-5.0.45-linux-i686.tar.gz".
dieses archiv habe ich wie in der INSTALL-BINARY beschrieben zu konfigurieren versucht....
|
Quellcode
|
1
2
3
4
5
6
7
8
|
shell> groupadd mysql
shell> useradd -g mysql mysql
shell> cd /usr/local
shell> gunzip < /PATH/TO/MYSQL-VERSION-OS.tar.gz | tar xvf -
shell> ln -s FULL-PATH-TO-MYSQL-VERSION-OS mysql
shell> cd mysql
shell> chown -R mysql .
shell> chgrp -R mysql .
|
bis hier hin funktioniert alles super und dann kommt folgene meldung
|
Quellcode
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
[root@localhost mysql-5.0.45-linux-i686]# scripts/mysql_install_db --user=mysqlInstalling MySQL system tables...
ERROR: 1004 Can't create file '/root/tmp/#sql18f5_1_0.frm' (errno: 13)
031011 17:55:51 [ERROR] Aborting
031011 17:55:51 [Note] ./bin/mysqld: Shutdown complete
Installation of system tables failed!
Examine the logs in ./data for more information.
You can try to start the mysqld daemon with:
./bin/mysqld --skip-grant &
and use the command line tool
./bin/mysql to connect to the mysql
database and look at the grant tables:
shell> ./bin/mysql -u root mysql
mysql> show tables
Try 'mysqld --help' if you have problems with paths. Using --log
gives you a log in ./data that may be helpful.
The latest information about MySQL is available on the web at
http://www.mysql.com
Please consult the MySQL manual section: 'Problems running mysql_install_db',
and the manual section that describes problems on your OS.
Another information source is the MySQL email archive.
Please check all of the above before mailing us!
And if you do mail us, you MUST use the ./bin/mysqlbug script!
|
nach eingabe des shell> ./bin/mysql -u root mysql kommt diese fehlermeldung
|
Quellcode
|
1
2
|
[root@localhost mysql-5.0.45-linux-i686]# ./bin/mysql -u root mysql
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
|
diese datei habe ich nicht in meinem temp... was mache ich falsch?wer weis rat?
ich habe das auch schon mit der version 6.0 versucht...