Hi
I want to start up mysql automatically and have created a plist file to do so, and placed it in the LaunchDaemons directory....but... i start mysql with "mysqld_safe --user=root" and don't know the correct way of passing the --user=root parameter to mysqld_safe.
eg part of the plist file:
<key>Label</key>
<string>com.mysql.mysqld</string>
<key>Program</key>
<string>/var/root/mysql/bin/mysqld_safe</string>
<key>ProgramArguments</key>
<array>
<string>--user=root</string>
</array>
doesn't seem to work. neither does
<key>Program</key>
<string>/var/root/mysql/bin/mysqld_safe --user=root</string>
Help appreciated
I want to start up mysql automatically and have created a plist file to do so, and placed it in the LaunchDaemons directory....but... i start mysql with "mysqld_safe --user=root" and don't know the correct way of passing the --user=root parameter to mysqld_safe.
eg part of the plist file:
<key>Label</key>
<string>com.mysql.mysqld</string>
<key>Program</key>
<string>/var/root/mysql/bin/mysqld_safe</string>
<key>ProgramArguments</key>
<array>
<string>--user=root</string>
</array>
doesn't seem to work. neither does
<key>Program</key>
<string>/var/root/mysql/bin/mysqld_safe --user=root</string>
Help appreciated