MySQL Server Status Problem in El Capitan

在打开MAC时,意外发现一个错误对话框,提示无法更改自动启动配置。解决方案是编写一个位于/Library/LaunchDaemons/的plist脚本,并命名为com.mysql.plist,设置MySQL服务器的自动启动路径。如果MySQL服务器无法自动加载,可能是由于Apple弃用了启动项。可以通过Apple的文档检查详细原因。
摘要由CSDN通过智能技术生成

I surprisingly found out there is a piece of error dialogue while I opened my MAC today.

Like this,
Could not change automatic startup configuration.

这里写图片描述

SO, here is my solution of this issue

I had Written a plist script in location /Library/LaunchDaemons/
, and named it com.mysql.plist

This is the original code of automatically start MySQL Server

<?xml version="1.0" encoding="UTF-8"?>    
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">    
<plist version="1.0">    
  <dict>    
    <key>KeepAlive</key>    
    <true/>    
    <key>Label</key>    
    <string>com.mysql.mysqld</string>    
    <k
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值