I am trying to migrate from MS SQL to mySQL. I have been able to:
1. Install the latest 5.5.17 mySQL, mySQL Administrator, and Workbench on my Windows 7 64 bit machine.
2. Migrate the MS SQL DB to mySQL and laboriously correct the syntax of my stored procedures.
3. Successfully run the DB on my machine as LocalHost/root.
But when I try to import this database from either a backup file in Administrator or a dump file in Workbench to the host, I can only upload the tables. The stored procedures will not upload.
I have discovered that the hoster is using an earlier version of mySQL 5.1.56.
I get an error message that the "column count of mysql.proc is wrong, expected 20, found 16" as well as "created with mysql 50091, now running 50156" and that I should run mysql_upgrade. This doesn't correct the problem.
I have tried uninstalling mySQL and reinstalling the earlier version and again run mysql_upgrade. Again, this does no good. Moreover, the re-installed Workbench now crashes continually.
It begins to look mysql_upgrade does just that: upgrade. It doesn't seem to be able to "downgrade" to the earlier format. Alternatively, are there any steps I have failed to try?
Thank you
I have run this utility.
1. Install the latest 5.5.17 mySQL, mySQL Administrator, and Workbench on my Windows 7 64 bit machine.
2. Migrate the MS SQL DB to mySQL and laboriously correct the syntax of my stored procedures.
3. Successfully run the DB on my machine as LocalHost/root.
But when I try to import this database from either a backup file in Administrator or a dump file in Workbench to the host, I can only upload the tables. The stored procedures will not upload.
I have discovered that the hoster is using an earlier version of mySQL 5.1.56.
I get an error message that the "column count of mysql.proc is wrong, expected 20, found 16" as well as "created with mysql 50091, now running 50156" and that I should run mysql_upgrade. This doesn't correct the problem.
I have tried uninstalling mySQL and reinstalling the earlier version and again run mysql_upgrade. Again, this does no good. Moreover, the re-installed Workbench now crashes continually.
It begins to look mysql_upgrade does just that: upgrade. It doesn't seem to be able to "downgrade" to the earlier format. Alternatively, are there any steps I have failed to try?
Thank you
I have run this utility.