auto table update of mysql database from access database

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ridwan
    New Member
    • May 2012
    • 10

    auto table update of mysql database from access database

    Is there any way the table data in Mysql will be automatically updated from the Access database after exporting the first time?
    My Access table is updated every hour. How can i synchronize the transfer of data between the two database?
  • Rabbit
    Recognized Expert MVP
    • Jan 2007
    • 12517

    #2
    Link the table instead of importing it into access. That way, any changes on the Access side will immediately reflect on the mysql side.

    Comment

    • ridwan
      New Member
      • May 2012
      • 10

      #3
      How Do i do that? i linked the table with mysql database but nothing happening when i change the access database. but after creating the link the access database is changing when i change the mysql database.

      Comment

      • Rabbit
        Recognized Expert MVP
        • Jan 2007
        • 12517

        #4
        You created a link to the access database from mysql? You need to do it the other way around.

        Comment

        • ridwan
          New Member
          • May 2012
          • 10

          #5
          Yes. But i never worked with the access database before.I created the link to the access database using the link that appears in the import option in the Access database. How can i create a link to the mysql from access database?

          Comment

          • Rabbit
            Recognized Expert MVP
            • Jan 2007
            • 12517

            #6
            That depends on what version of Access you're using.

            Comment

            • ridwan
              New Member
              • May 2012
              • 10

              #7
              I am using access 2007

              Comment

              • Rabbit
                Recognized Expert MVP
                • Jan 2007
                • 12517

                #8
                It's under External Data > Import > More > ODBC Database

                Comment

                • ridwan
                  New Member
                  • May 2012
                  • 10

                  #9
                  But that updates the access database from the Mysql database. How do i do the opposite?

                  Comment

                  • Rabbit
                    Recognized Expert MVP
                    • Jan 2007
                    • 12517

                    #10
                    The link should go both ways.

                    Comment

                    • ridwan
                      New Member
                      • May 2012
                      • 10

                      #11
                      I created the link but it only updates the data from mysql.if i update the Access database nothing happens in the mysql database. :(

                      Comment

                      • Rabbit
                        Recognized Expert MVP
                        • Jan 2007
                        • 12517

                        #12
                        Check the advanced options on the DSN. Perhaps there's something set incorrectly there.

                        Comment

                        • ridwan
                          New Member
                          • May 2012
                          • 10

                          #13
                          I went through the settings.If you can suggest me about the settings to change it would be easier for me. I have no idea about what to change. I never worked with access database before.

                          Comment

                          • Rabbit
                            Recognized Expert MVP
                            • Jan 2007
                            • 12517

                            #14
                            I don't know which setting it would be, I've never had to change them to get them to work. Look for something along the lines of read only.

                            Comment

                            • ridwan
                              New Member
                              • May 2012
                              • 10

                              #15
                              Thank you.It worked.I had to remove the real table and rename the linked table to its original table name.

                              Comment

                              Working...