全國最多中醫師線上諮詢網站-台灣中醫網
發文 回覆 瀏覽次數:1273
推到 Plurk!
推到 Facebook!

Transactions are not enabled..怪怪..

答題得分者是:hagar
mygod
一般會員


發表:52
回覆:64
積分:23
註冊:2002-09-10

發送簡訊給我
#1 引用回覆 回覆 發表時間:2002-09-26 08:05:02 IP:61.59.xxx.xxx 未訂閱
本來一個table用的好好的...突然間查詢後的資料連修改都不行(本來可以) 用SQL EXPLORER查看...修改後會出現Transactions are not enabled的訊息 可是相同資料庫下的其他table都可以正常使用 請問可能是什麼原因造成的??謝謝 oh~mygod
------
oh~mygod
hagar
版主


發表:143
回覆:4056
積分:4445
註冊:2002-04-14

發送簡訊給我
#2 引用回覆 回覆 發表時間:2002-09-26 08:09:01 IP:211.22.xxx.xxx 未訂閱
參考這篇: http://dbforums.com/archive/114/2002/04/1/342550 重點如下(紅色部份):  This error occures when you are trying to perform  some transactional calls in MyODBC on a non-transactional  MySQL server. You can add support InnoDB or BDB tables in the MySQL server or set up 'Disable Transactions' option in the DSN configuration window. -- Everything I say is a lie. 發表人 - hagar 於 2002/09/26 08:22:39
mygod
一般會員


發表:52
回覆:64
積分:23
註冊:2002-09-10

發送簡訊給我
#3 引用回覆 回覆 發表時間:2002-09-26 22:54:27 IP:61.59.xxx.xxx 未訂閱
我重新create該table就可以正常運作...到底為啥??    Mysql4 真的不支援transaction嗎??那為何會有Disable Transaction的選項?   You can add support InnoDB or BDB tables 這句真的不懂?? hagar兄...又要麻煩您了 oh~mygod
------
oh~mygod
hagar
版主


發表:143
回覆:4056
積分:4445
註冊:2002-04-14

發送簡訊給我
#4 引用回覆 回覆 發表時間:2002-09-27 07:44:59 IP:211.22.xxx.xxx 未訂閱
以下這段是截自 http://www.mysql.com Note that MySQL supports two different kinds of tables: transaction-safe tables (InnoDB and BDB) and not transaction-safe tables (HEAP, ISAM, MERGE, and MyISAM). 還有這一段: To create a table in the InnoDB format you must specify TYPE = InnoDB in the table creation SQL command: CREATE TABLE CUSTOMER (A INT, B CHAR (20), INDEX (A)) TYPE = InnoDB; 您參考一下。 -- Everything I say is a lie.
mygod
一般會員


發表:52
回覆:64
積分:23
註冊:2002-09-10

發送簡訊給我
#5 引用回覆 回覆 發表時間:2002-09-28 02:38:08 IP:211.74.xxx.xxx 未訂閱
謝謝...我試試 oh~mygod
------
oh~mygod
系統時間:2024-04-29 15:19:18
聯絡我們 | Delphi K.Top討論版
本站聲明
1. 本論壇為無營利行為之開放平台,所有文章都是由網友自行張貼,如牽涉到法律糾紛一切與本站無關。
2. 假如網友發表之內容涉及侵權,而損及您的利益,請立即通知版主刪除。
3. 請勿批評中華民國元首及政府或批評各政黨,是藍是綠本站無權干涉,但這裡不是政治性論壇!