Author Topic: database replication help needed  (Read 504 times)

0 Members and 1 Guest are viewing this topic.

Offline otuatailTopic starter

  • Devotee
  • Posts: 875
    • View Profile
database replication help needed
« on: August 14, 2010, 10:03:14 AM »
Hi I have a database version 4.x and I have now got another databe 5.x. I am lots of problems with the older on anda at the moment can't access it via phpmyadmin. If I can get access is there any tools available to move the data across.

The thought of writing a php page to open both and copy each one record by record would be very dificult when you think you
have 30 plus tables of difrent structures.

Is this achevable ???????

Desmond.

Offline fenway

  • MySQL Si-Fu / PHP Resident Alien
  • Global Moderator
  • 'Mind Boggling!'
  • *
  • Posts: 15,443
  • Gender: Male
    • View Profile
Re: database replication help needed
« Reply #1 on: August 14, 2010, 04:00:53 PM »
I don't follow -- just upgrade the DB after following mysql's instructions.
:anim_rules: Seriously... if people don't start reading this before posting, I'm going to consider not answering at all.

Offline otuatailTopic starter

  • Devotee
  • Posts: 875
    • View Profile
Re: database replication help needed
« Reply #2 on: September 02, 2010, 11:54:34 AM »
I dont own the company or the server that the database is on. I pay yearly subscriptions. I have no direct access to the server any more and the company are not helping. I can from a website point of view still use it. Is there some code I could extract the field defs in order to create a new table. and is there a way to access the table as data. I can copy and past this but don't know how.

Desmond.

Offline fenway

  • MySQL Si-Fu / PHP Resident Alien
  • Global Moderator
  • 'Mind Boggling!'
  • *
  • Posts: 15,443
  • Gender: Male
    • View Profile
Re: database replication help needed
« Reply #3 on: September 10, 2010, 11:28:27 AM »
Well, if you have access to both servers via php, you can SELECT from one and INSERT into the other.
:anim_rules: Seriously... if people don't start reading this before posting, I'm going to consider not answering at all.