Nun habe ich heute die Installation erneut durchgeführt um das ganze auf die USB Festplatte zu installieren damit der MySQL Server nicht auf die CF Karte schreibt. Das hat auch ohne Probleme funktioniert jedoch startet der SQL Server selbst nicht aus folgendem Grund:
Code: Alles auswählen
111003 22:05:35 mysqld started
111003 22:05:35 [ERROR] Can't start server : Bind on unix socket: Permission denied
111003 22:05:35 [ERROR] Do you already have another mysqld server running on socket: /media/usbhdd/mysql4/var/mysqld.sock ?
111003 22:05:35 [ERROR] Aborting
111003 22:05:35 [Note] /media/usbhdd/mysql4/libexec/mysqld: Shutdown complete
111003 22:05:35 mysqld ended
Code: Alles auswählen
drwx------ 4 mysql4 mysql 4096 Oct 3 22:06 var
Kurzer Auszug aus der my.cnf Konfiguration:
Code: Alles auswählen
[client]
#password = your_password
port = 3366
socket = /media/usbhdd/mysql4/var/mysqld.sock
# Here follows entries for some specific programs
# The MySQL server
[mysqld]
port = 3366
socket = /media/usbhdd/mysql4/var/mysqld.sock
Code: Alles auswählen
./configure --prefix=/media/usbhdd/mysql4 --with-unix-socket-path=/media/usbhdd/mysql4/var/mysqld.sock --with-mysqld-user=mysql4 --with-server-suffix=mysql4 --with-tcp-port=3366