Quantcast
Channel: MySQL Forums - Install & Repo
Viewing all articles
Browse latest Browse all 7239

Going from mysql 5.0.51 to 5.1.58 (2 replies)

$
0
0
We have recently purchased a new database-server to replace our old one completely.

On the new server, mysql has been installed, the empty databases I need have been recreated using create database. I have used GRANT to recreate the users I needed on the new server.
Then I dumped the complete databases from the old machine, copied the dumps over to the new machine, and I am now importing the sumps into their correct databases.
So far I have not encountered any problems. However, as I have never done this before, I am a bit worried that the upgrade from 5.0 to 5.1 really ARE as simple as this. So I have a few questions:

1: Should I expect problems due to the upgrade?

2: If the importing took place without any errors, can I assume I will not have lost data or suffer from any data-corruption? And how safe would the assumption be? Is it recommended to make a program that manually goes through all records in all tables to verify the two servers have the same data, or is that not something "one has to do"?

3: Inside one of the databases, I use a lot of auto_increment on primary keys. Over the years, old entries have been deleted. WHen I import such a table, will my primary keys remain the same, and will the auto_increment "counter" in each table remain the same, or will I risk that for instance my articles will now all have new article_id's? And if I insert a new row into these tables, will it get a much lower id in the new database, due to the missing old entires, than I would get if I insert it into the old database?

4: Any other things I should be absolutely aware of? I didn't find anything dreadful in the normal upgrade-notes, but as I said, I have never done this before, and it is quite a large and important system used by thousands of users!

Kind regards, and hopes of a reply or two
- Christian

Viewing all articles
Browse latest Browse all 7239

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>