Thank you to samt for solving the first problem with chown!
I run the command
$sudo /opt/local/bin/mysqld_safe5 & ~
[1] 1096
$Password: ~ 1
[1] + suspended (tty output) sudo /opt/local/bin/mysqld_safe5
The process is now at the jobs for some reason, so I get it back
$%1 ~ 1
[1] + continued sudo /opt/local/bin/mysqld_safe5
Password:
Starting mysqld daemon with databases from /opt/local/var/db/mysql5
STOPPING server from pid file /opt/local/var/db/mysql5/eMY-IP-ADDRESS.elisa-laajakaista.fi.pid
090705 12:37:45 mysqld ended
I do not know why my MySQL is shutting down.
Do you know why my MySQL is shutting down?