Advertisement

05.13.2008 at 07:07PM PDT, ID: 23400061
[x]
Attachment Details

Updates not committing, rollback seems to be happening.

Asked by kenuk110 in MySQL, Apple Operating Systems, Leopard (MAC OS 10.5)

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

KenStart Free Trial
[+][-]05.13.2008 at 08:31PM PDT, ID: 21561051

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.13.2008 at 08:36PM PDT, ID: 21561070

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.13.2008 at 08:46PM PDT, ID: 21561107

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.14.2008 at 12:58AM PDT, ID: 21561932

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.14.2008 at 05:07AM PDT, ID: 21563177

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.14.2008 at 05:13AM PDT, ID: 21563212

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.14.2008 at 06:35AM PDT, ID: 21563968

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: MySQL, Apple Operating Systems, Leopard (MAC OS 10.5)
Tags: Sun, MySQL, 5.1, Running on MAC OS X 5.10.2
Sign Up Now!
Solution Provided By: arnold
Participating Experts: 1
Solution Grade: A
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628