mariadb install failed

Ryan Schmidt ryandesign at macports.org
Sun Aug 10 22:38:47 PDT 2014


> On Aug 9, 2014, at 7:33 AM, James Rome <jamesrome at gmail.com> wrote:
> 
> /opt/local/lib/mariadb-10.1/bin/mysqld_safe: line 138:
> /opt/local/var/db/mariadb-10.1/jarmac-2.local.err: Permission denied
> jarmac-2:local jar$ sudo /opt/local/lib/mariadb-10.1/bin/mysqld_safe
> --datadir='/opt/local/var/db/mariadb-10.1'
> 140809 08:27:19 mysqld_safe Logging to
> '/opt/local/var/db/mariadb-10.1/jarmac-2.local.err'.
> 140809 08:27:19 mysqld_safe Starting mysqld daemon with databases from
> /opt/local/var/db/mariadb-10.1
> 140809 08:27:19 mysqld_safe mysqld from pid file
> /Users/jar/mysql/data/mysqld.pid ended
> 
> jarmac-2:local jar$ ls  /Users/jar/mysql/data/mysqld.pid
> ls: /Users/jar/mysql/data/mysqld.pid: No such file or directory
> 
> jarmac-2:local jar$ ls /tmp
> NETGEARGenieDaemon.pid    launch-lvNc6z        launchd-2350.ZqaGRy   
> oobelib.log
> aprboTZUl        launch-p9tXNI        launchd-2574.4XikGj    par-jar
> launch-6nMu7R        launch-zr3qrZ        launchd-2639.QTnGJA   
> parallels_crash_dumps
> launch-bUMBFm        launchd-1572.md5xYw    launchd-608.Vb1bse   
> tmp23873374
> 
> Why is it using my account to store things?

The only reason I can think of is that your my.cnf says to do that.



More information about the macports-users mailing list