mac mariadb编译后无法启动
140312 00:50:59 mysqld_safe mysqld from pid file /usr/local/mnmp/mariadb/data/HutekiMacBook-Pro.local.pid ended
140312 00:57:32 mysqld_safe Starting mysqld daemon with databases from /usr/local/mnmp/mariadb/data
140312 0:57:32 [Warning] Setting lower_case_table_names=2 because file system for /usr/local/mnmp/mariadb/data/ is case insensitive
140312 0:57:32 [ERROR] mysqld: File ‘./mysql-bin.index‘ not found (Errcode: 13 "Permission denied")
140312 0:57:32 [ERROR] Aborting
140312 0:57:32 [Note] /usr/local/mnmp/mariadb/bin/mysqld: Shutdown complete
140312 00:57:32 mysqld_safe mysqld from pid file /usr/local/mnmp/mariadb/data/HutekiMacBook-Pro.local.pid ended
上面报错给data目录设置写入权限即可
本文出自 “大胡的笔记” 博客,请务必保留此出处http://zhixinhu.blog.51cto.com/3132199/1373547
郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。