Rumah > Artikel > pangkalan data > MAC系统中添加MYSQL开机启动的方法
1.添加文件 touch /Library/LaunchDaemons/com.mysql.mysql.plist 2.添加内容 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 keyKe
1.添加文件
touch
/Library/LaunchDaemons/com.mysql.mysql.plist
sudo launchctl load -w /Library/LaunchDaemons/com.mysql.mysql.plist