Running MySQL on OS X Lion Server
Hello together,
I have OS X Lion Server wich was upgraded from Leopard Server.
Now I want to run the MySQL Server.
/usr/bin/mysqld_safe --user=mysql &
produces this error in thte file
/var/mysql/<hostname>.err
21218 19:39:41 mysqld started
121218 19:39:41 [Warning] Setting lower_case_table_names=2 because file system for /var/mysql/ is case insensitive
121218 19:39:42 InnoDB: Started; log sequence number 0 43655
121218 19:39:42 [ERROR] Can't start server : Bind on unix socket: Invalid argument
121218 19:39:42 [ERROR] Do you already have another mysqld server running on socket: /var/mysql/mysql.sock ?
121218 19:39:42 [ERROR] Aborting
121218 19:39:42 InnoDB: Starting shutdown...
121218 19:39:43 InnoDB: Shutdown completed; log sequence number 0 43655
121218 19:39:43 [Note] /usr/libexec/mysqld: Shutdown complete
Definitley there ist no mysql server running at all.
After all I decided to delete the contents of /var/mysql and to run
mysql_install_db --user=mysql
But this didn't change anything.
This is the content of my /etc/my.cnf file:
[client]
socket=/var/mysql/mysql.sock
[mysqld]
socket=/var/mysql/mysql.sock
Can anyone give me some advice on how to get MySQL runnning?
Thanks in advance
macmartin
OS X Server