06-19-2011
Hi Scott,
which storage engine are you using (show create table <table_name>;)?
Bear in mind that MySQL 5.0.x default's storage engine is MyISAM and that storage engine doesn't support transactions (you cannot rollback a statement).
You should take a look at InnoDB if you need transactions (start transaction; do your work; commit or rollback).
InnoDB is the default storage engine in 5.5 (I'm not sure when exactly it became the default storage engine).
This User Gave Thanks to radoulov For This Post:
7 More Discussions You Might Find Interesting
1. AIX
Hi,
Can anybody tell,how to set the auto commit option in AIX,i have tried with environmental variables option like 'export db2option=-c +a'.
But its not working in my environment.
is there any other option? (1 Reply)
Discussion started by: DB2AIX
1 Replies
2. Shell Programming and Scripting
Hi All,
I have bash script, so what is sintax script in bash for Enable and Disable Tab Key. Thanks for your help.:(
Thanks,
Rico (1 Reply)
Discussion started by: carnegiex
1 Replies
3. UNIX for Dummies Questions & Answers
mysql.sock file is missing in /opt/lampp/etc/ is there any backup file available in unix...
since without that file .. project is not opening..
reply me as soon as possible ... (19 Replies)
Discussion started by: senkerth
19 Replies
4. UNIX and Linux Applications
Hi,
Pls let me know command to get following:
1. how to check current value of autocommit
2. how to check current value of isolation level
I am using mysql-5.0.26 on unix
-Thanks (2 Replies)
Discussion started by: newbielgn
2 Replies
5. Red Hat
Hi all Expertise,
I have following issue to solve,
SSL / TLS Renegotiation DoS (low) 222.225.12.13
Ease of Exploitation Moderate
Port 443/tcp
Family Miscellaneous
Following is the problem description:------------------
Description The remote service encrypts traffic using TLS / SSL and... (2 Replies)
Discussion started by: manalisharmabe
2 Replies
6. Emergency UNIX and Linux Support
I know, its stupid..
MYSQL on CENTOS 5 using WHM
Imported a lot of users/posts from old forum to new forum, but my backup was lost.
Can I somehow simply remove all mysql table changes for the last 3 hours, returning to pre-import status.
---------- Post updated at 03:44 AM ----------... (6 Replies)
Discussion started by: lawstudent
6 Replies
7. Emergency UNIX and Linux Support
Sorry if I repost my question in this section, but I'm really in a hurry since I have to finish my work... :(
Dear community,
I have a table with two rows like:
Row1 Row2
======= =======
7,3 text 1
1,3 text 2
1,2,3 blabla
What i need to do is add/copy... (2 Replies)
Discussion started by: Lord Spectre
2 Replies
LEARN ABOUT PHP
mysqlnd_ms_xa_commit
MYSQLND_MS_XA_COMMIT(3) 1 MYSQLND_MS_XA_COMMIT(3)
mysqlnd_ms_xa_commit - Commits a distributed/XA transaction among MySQL servers
SYNOPSIS
int mysqlnd_ms_xa_commit (mixed $connection, string $gtrid)
DESCRIPTION
Commits a global transaction among MySQL servers started by mysqlnd_ms_xa_begin(3).
If any of the global transaction participants fails to commit an implicit rollback is performed. It may happen that not all cases can be
handled during the rollback. For example, no attempts will be made to reconnect to a participant after the connection to the participant
has been lost. Solving cases that cannot easily be rolled back is left to the garbage collection.
Note
Experimental
The feature is currently under development. There may be issues and/or feature limitations. Do not use in production environments.
PARAMETERS
o $connection
- A MySQL connection handle obtained from any of the connect functions of the mysqli, mysql or PDO_MYSQL extensions.
o $gtrid
- Global transaction identifier (gtrid).
RETURN VALUES
Returns TRUE if the global transaction has been committed. Otherwise, returns FALSE
SEE ALSO
Quickstart XA/Distributed transactions, Runtime configuration, mysqlnd_ms_get_stats(3).
PHP Documentation Group MYSQLND_MS_XA_COMMIT(3)