mariadb install failed
James Rome
jamesrome at gmail.com
Fri Aug 8 13:55:59 PDT 2014
On my Mavericks Mac Pro, I installed mariadb and mariadb-server. They
seemed successful. But when i try to run the commands they suggest, I get:
jarmac-2:~ jar$ sudo -u _mysql /opt/local/lib/mariadb/bin/mysql_install_db
shell-init: error retrieving current directory: getcwd: cannot access
parent directories: Permission denied
job-working-directory: error retrieving current directory: getcwd:
cannot access parent directories: Permission denied
job-working-directory: error retrieving current directory: getcwd:
cannot access parent directories: Permission denied
job-working-directory: error retrieving current directory: getcwd:
cannot access parent directories: Permission denied
Installing MariaDB/MySQL system tables in '/opt/local/var/db/mariadb' ...
job-working-directory: error retrieving current directory: getcwd:
cannot access parent directories: Permission denied
job-working-directory: error retrieving current directory: getcwd:
cannot access parent directories: Permission denied
job-working-directory: error retrieving current directory: getcwd:
cannot access parent directories: Permission denied
job-working-directory: error retrieving current directory: getcwd:
cannot access parent directories: Permission denied
OK
Filling help tables...
job-working-directory: error retrieving current directory: getcwd:
cannot access parent directories: Permission denied
job-working-directory: error retrieving current directory: getcwd:
cannot access parent directories: Permission denied
job-working-directory: error retrieving current directory: getcwd:
cannot access parent directories: Permission denied
OK
and
jarmac-2:~ jar$ cd '/opt/local' ; /opt/local/lib/mariadb/bin/mysqld_safe
--datadir='/opt/local/var/db/mariadb'
140808 16:44:50 mysqld_safe unknown option
'--err-log=/Users/jar/mysql/data/mysqld.log'
140808 16:44:50 mysqld_safe Logging to
'/opt/local/var/db/mariadb/jarmac-2.local.err'.
touch: /opt/local/var/db/mariadb/jarmac-2.local.err: Permission denied
chmod: /opt/local/var/db/mariadb/jarmac-2.local.err: No such file or
directory
140808 16:44:50 mysqld_safe Starting mysqld daemon with databases from
/opt/local/var/db/mariadb
/opt/local/lib/mariadb/bin/mysqld_safe: line 138:
/opt/local/var/db/mariadb/jarmac-2.local.err: Permission denied
/opt/local/lib/mariadb/bin/mysqld_safe: line 182:
/opt/local/var/db/mariadb/jarmac-2.local.err: Permission denied
touch: /opt/local/var/db/mariadb/jarmac-2.local.err: Permission denied
chown: /opt/local/var/db/mariadb/jarmac-2.local.err: No such file or
directory
chmod: /opt/local/var/db/mariadb/jarmac-2.local.err: No such file or
directory
140808 16:44:50 mysqld_safe mysqld from pid file
/Users/jar/mysql/data/mysqld.pid ended
/opt/local/lib/mariadb/bin/mysqld_safe: line 138:
/opt/local/var/db/mariadb/jarmac-2.local.err: Permission denied
What am I doing wrong?
And where do I place the startup files?
--
James A. Rome
http://jamesrome.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-users/attachments/20140808/ff81677e/attachment.html>
More information about the macports-users
mailing list