Home Forums OS X Server and Client Discussion Questions and Answers startup plist for mysql

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #367609
    gw1500se
    Participant

    I have a MySQL server set up to do replication. However, tere are 2 parameters that I need to add to the startup plist for it to work on reboot (–relay-log=hostname-relay-bin and –log-bin=hostname-bin). What is the correct syntax for adding these options? Here is my current plist:
    [code]
    {?xml version=”1.0″ encoding=”UTF-8″?>
    {!DOCTYPE plist PUBLIC “-//Apple Computer//DTD PLIST 1.0//EN” “http://www.apple.com/DTDs/PropertyList-1.0.dtd”>
    {plist version=”1.0″>
    {dict>
    {key>Description{/key>
    {string>MySQL 5.0.27-standard{/string>
    {key>OrderPreference{/key>
    {string>None{/string>
    {key>Provides{/key>
    {array>
    {string>MySQL{/string>
    {/array>
    {key>Uses{/key>
    {array>
    {string>Network{/string>
    {string>Resolver{/string>
    {/array>
    {/dict>
    {/plist>
    [/code]
    Note: To get this to display correctly I substituted ‘{‘ for the leading ‘<'. I thought the code tag was supposed to ignore things like that? TIA.

    #367615
    gw1500se
    Participant

    Never mind. I figured out where to put it in /etc/my.cnf instead. Thanks anyway.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.

Comments are closed