Do not use on any
shared computer
August 30, 2008 03:25am pdt
 
[x]
Attachment Details

Updates not committing, rollback seems to be happening.

Tags: Sun, MySQL, 5.1, Running on MAC OS X 5.10.2
Hi,

Bit of background. I have two OS X Servers running 10.5.2, one has the default MySQL installation, I believe it's 5.0.42 and the other has 5.1.? (I just downloaded it from MySQL, the latest one).

I have a database with a table, it's called DMS. This table was using the InnoDB engine. I have recently moved this database from a Windows XP MySQL setup and basically just dumped the SQL file from XP and imported it to the OS X copy. All worked without a glitch. This was a week ago.

I have now tried to amend data in the DMS table, I have ben doing it all week without issues but not as much as yesterday/today.

I would change information in one column field, digits, single but when I refreshed the screen the original entries were there. I did it again and again, same thing, it's as if it's on "auto rollback" or something. I then thought maybe it's the user account I was using. I was remotely connecting from my Mac laptop. I made sure the root account has every permission including LOCK. Still didn't work.

It just seemed to be a locking issue with the table so I disconnected all other sessions connecting to the server. It seemed to work - sort of intermittent, I would change some data and it would be fine, I'd change it again and it would revert back to it's original state, the one even before the last one I did.

I decided to change the database engine from InnoDB to MyISAM in the hope that if locking was the problem this would clear it up. It's accepting more changes now than with InnoDB but still getting several 'cannot commit post' errors. I thought it may be the version of MySQL so I tried it on the 5.1 installation on my other server, still the same.

Any ideas what could be the problem?

Any help would be much appreciated.

Regards

Ken
Start your free trial to view this solution
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

Question Stats
Zone: Apple
Question Asked By: kenuk110
Solution Provided By: arnold
Participating Experts: 1
Solution Grade: A
Views: 0
Translate:
Loading Advertisement...
 
[+][-]Expert Comment by arnold

Rank: Master

Expert Comment by arnold:

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
[+][-]Author Comment by kenuk110
Author Comment by kenuk110:

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
[+][-]Expert Comment by arnold

Rank: Master

Expert Comment by arnold:

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
[+][-]Author Comment by kenuk110
Author Comment by kenuk110:

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
[+][-]Author Comment by kenuk110
Author Comment by kenuk110:

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
[+][-]Author Comment by kenuk110
Author Comment by kenuk110:

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
[+][-]Accepted Solution by arnold

Rank: Master

Accepted Solution by arnold:

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
Loading Advertisement...
20080723-EE-VQP-34 / EE_QW_2_20070628