mariadb install failed

James Rome jamesrome at gmail.com
Fri Aug 8 16:16:24 PDT 2014


The install_db worked, but when I try to start the database, I get:

jarmac-2:local jar$ cd /opt/local
jarmac-2:local jar$ sudo /opt/local/lib/mariadb/bin/mysqld_safe
--datadir='/opt/local/var/db/mariadb'
140808 19:12:55 mysqld_safe unknown option
'--err-log=/Users/jar/mysql/data/mysqld.log'
140808 19:12:55 mysqld_safe Logging to
'/opt/local/var/db/mariadb/jarmac-2.local.err'.
140808 19:12:55 mysqld_safe Starting mysqld daemon with databases from
/opt/local/var/db/mariadb
140808 19:12:55 mysqld_safe mysqld from pid file
/Users/jar/mysql/data/mysqld.pid ended

And I do not think the database has started.

James A. Rome
jamesrome at gmail.com
http://jamesrome.net

On 8/8/14 7:08 PM, Brandon Allbery wrote:
> On Fri, Aug 8, 2014 at 7:07 PM, Brandon Allbery <allbery.b at gmail.com
> <mailto:allbery.b at gmail.com>> wrote:
>
>     On Fri, Aug 8, 2014 at 4:55 PM, James Rome <jamesrome at gmail.com
>     <mailto:jamesrome at gmail.com>> wrote:
>
>         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
>
>
>     You're in a directory that was deleted out from under you. bash
>     does not like this.
>
>
> Actually, let me correct that: it exists but the _mysql user cannot
> access it. Change to a directory such as / or /tmp first. 
>
> -- 
> brandon s allbery kf8nh                               sine nomine
> associates
> allbery.b at gmail.com <mailto:allbery.b at gmail.com>                      
>            ballbery at sinenomine.net <mailto:ballbery at sinenomine.net>
> unix, openafs, kerberos, infrastructure, xmonad      
>  http://sinenomine.net

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-users/attachments/20140808/15bff3d1/attachment.html>


More information about the macports-users mailing list