Hello
I have successfully installed MySQL from ports but I have difficulty in running it as a daemon.
I've put mysql_enable="YES" in /etc/rc.conf but it's no use.
When I type (as root)
When I type (as mysql user)
I have tried:
What can I do?
Thanks.
I have successfully installed MySQL from ports but I have difficulty in running it as a daemon.
I've put mysql_enable="YES" in /etc/rc.conf but it's no use.
When I type (as root)
# # mysql -u mysql -p
and enter the password it returns
Code:
ERROR 2002 ... Can't connect to local MySQL server through socket '/tmp/mysql.sock'
When I type (as mysql user)
% /usr/local/libexec/mysqld
it returns
Code:
100412 ... [Warning] Can't create test file /var/db/mysql/IBM.lower-test
... Can't change dir to 'var/db/mysql' (Errcode: 13)
100412 ... [ERROR] Aborting
I have tried:
# mysql_install_db
and it ran without problems but still no use.What can I do?
Thanks.