Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Database & SysAdmin
  3. Database
  4. The syntax 'for replication startup options' is deprecated and will be removed in MySQL 5.2. Please use 'CHANGE MASTER' instead.

The syntax 'for replication startup options' is deprecated and will be removed in MySQL 5.2. Please use 'CHANGE MASTER' instead.

Scheduled Pinned Locked Moved Database
questionmysql
10 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    BobClarkSQL
    wrote on last edited by
    #1

    How do I get rid of the following erroe message? The syntax 'for replication startup options' is deprecated and will be removed in MySQL 5.2. Please use 'CHANGE MASTER' instead.

    W 1 Reply Last reply
    0
    • B BobClarkSQL

      How do I get rid of the following erroe message? The syntax 'for replication startup options' is deprecated and will be removed in MySQL 5.2. Please use 'CHANGE MASTER' instead.

      W Offline
      W Offline
      Wendelius
      wrote on last edited by
      #2

      As the error suggest, you use CHANGE MASTER TO[^] at the slave server.

      The need to optimize rises from a bad design.My articles[^]

      B 1 Reply Last reply
      0
      • W Wendelius

        As the error suggest, you use CHANGE MASTER TO[^] at the slave server.

        The need to optimize rises from a bad design.My articles[^]

        B Offline
        B Offline
        BobClarkSQL
        wrote on last edited by
        #3

        It is already in my my.ini File on all my Slaves. It is as follows: CHANGE MASTER TO MASTER_HOST='master-hostname' MASTER_USER='slave-user' MASTER_PASSWORD='slave-password' What else do you suggest trying?

        W 1 Reply Last reply
        0
        • B BobClarkSQL

          It is already in my my.ini File on all my Slaves. It is as follows: CHANGE MASTER TO MASTER_HOST='master-hostname' MASTER_USER='slave-user' MASTER_PASSWORD='slave-password' What else do you suggest trying?

          W Offline
          W Offline
          Wendelius
          wrote on last edited by
          #4

          Instead of adding it to my.ini, I think you should execute the CHANGE MASTER command. That command modifies the master.info file and sets the new values for each option you specify. Those options that you do not specify are left unchanged.

          The need to optimize rises from a bad design.My articles[^]

          B 1 Reply Last reply
          0
          • W Wendelius

            Instead of adding it to my.ini, I think you should execute the CHANGE MASTER command. That command modifies the master.info file and sets the new values for each option you specify. Those options that you do not specify are left unchanged.

            The need to optimize rises from a bad design.My articles[^]

            B Offline
            B Offline
            BobClarkSQL
            wrote on last edited by
            #5

            Do you run that command on the MASTER Server or all of the SLAVE Servers. I am running Windows XP Professional on all Units.

            W 1 Reply Last reply
            0
            • B BobClarkSQL

              Do you run that command on the MASTER Server or all of the SLAVE Servers. I am running Windows XP Professional on all Units.

              W Offline
              W Offline
              Wendelius
              wrote on last edited by
              #6

              On the slaves. From documentation: "CHANGE MASTER TO changes the parameters that the slave server uses for connecting to and communicating with the master server"

              The need to optimize rises from a bad design.My articles[^]

              B 1 Reply Last reply
              0
              • W Wendelius

                On the slaves. From documentation: "CHANGE MASTER TO changes the parameters that the slave server uses for connecting to and communicating with the master server"

                The need to optimize rises from a bad design.My articles[^]

                B Offline
                B Offline
                BobClarkSQL
                wrote on last edited by
                #7

                I ran the same command set on each of the slaves, stopped each of the slave servers after updating the information and then restarted them each. Went back to the Main server and stopped it and restarted it. Got the same exact error message upon starting the server. Trying to start the server ... Server was started. The syntax 'for replication startup options' is deprecated and will be removed in MySQL 5.2. Please use 'CHANGE MASTER' instead. Slave SQL thread initialized, starting replication in log 'MEDCO1.000002' at position 4, relay log '.\MEDCO1-relay-bin.000036' position: 4 Event Scheduler: Loaded 0 events C:\Program Files\MySQL\MySQL Server 5.1\bin\mysqld-debug: ready for connections. Version: '5.1.30-community-debug-log' socket: '' port: 3306 MySQL Community Server - Debug (GPL) Slave I/O: error connecting to master 'slave-user@master-hostname:3306' - retry-time: 60 retries: 86400, Error_code: 2005

                W 1 Reply Last reply
                0
                • B BobClarkSQL

                  I ran the same command set on each of the slaves, stopped each of the slave servers after updating the information and then restarted them each. Went back to the Main server and stopped it and restarted it. Got the same exact error message upon starting the server. Trying to start the server ... Server was started. The syntax 'for replication startup options' is deprecated and will be removed in MySQL 5.2. Please use 'CHANGE MASTER' instead. Slave SQL thread initialized, starting replication in log 'MEDCO1.000002' at position 4, relay log '.\MEDCO1-relay-bin.000036' position: 4 Event Scheduler: Loaded 0 events C:\Program Files\MySQL\MySQL Server 5.1\bin\mysqld-debug: ready for connections. Version: '5.1.30-community-debug-log' socket: '' port: 3306 MySQL Community Server - Debug (GPL) Slave I/O: error connecting to master 'slave-user@master-hostname:3306' - retry-time: 60 retries: 86400, Error_code: 2005

                  W Offline
                  W Offline
                  Wendelius
                  wrote on last edited by
                  #8

                  Do you still have the options in my.ini. That would explain the problem. Also you should check that there are no leftovers in master.info. That overrides my.ini.

                  The need to optimize rises from a bad design.My articles[^]

                  B 1 Reply Last reply
                  0
                  • W Wendelius

                    Do you still have the options in my.ini. That would explain the problem. Also you should check that there are no leftovers in master.info. That overrides my.ini.

                    The need to optimize rises from a bad design.My articles[^]

                    B Offline
                    B Offline
                    BobClarkSQL
                    wrote on last edited by
                    #9

                    All lines of code that pertain to the Previous Change Master are removed from the My.ini files. Is there anyway to change or verify the master .info file or Purge it?

                    W 1 Reply Last reply
                    0
                    • B BobClarkSQL

                      All lines of code that pertain to the Previous Change Master are removed from the My.ini files. Is there anyway to change or verify the master .info file or Purge it?

                      W Offline
                      W Offline
                      Wendelius
                      wrote on last edited by
                      #10

                      I don't know if they have a tool for that. You could search on their site or manuals. However, if I remember correctly, master.info is plain text so you can easily check it's contents.

                      The need to optimize rises from a bad design.My articles[^]

                      1 Reply Last reply
                      0
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • World
                      • Users
                      • Groups