Просмотр исходного кода

Added a FAQ to the documentation with two brand new questions. Whehey!

Ask Solem 16 лет назад
Родитель
Сommit
4cf6ceb400
2 измененных файлов с 30 добавлено и 0 удалено
  1. 29 0
      docs/faq.rst
  2. 1 0
      docs/index.rst

+ 29 - 0
docs/faq.rst

@@ -0,0 +1,29 @@
+============================
+ Frequently Asked Questions
+============================
+
+Questions
+=========
+
+MySQL is throwing deadlock errors, what can I do?
+-------------------------------------------------
+
+**Answer:** MySQL has default isolation level set to ``REPEATABLE-READ``,
+if you don't really need that, set it to ``READ-COMMITTED``.
+You can do that by adding the following to your ``my.cnf``::
+
+    [mysqld]
+    transaction-isolation = READ-COMMITTED
+
+For more information about InnoDBs transaction model see `MySQL - The InnoDB
+Transaction Model and Locking`_ in the MySQL user manual.
+
+(Thanks to Honza Kral and Anton Tsigularov for this solution)
+
+.. _`MySQL - The InnoDB Transaction Model and Locking`: http://dev.mysql.com/doc/refman/5.1/en/innodb-transaction-model.html
+
+celeryd is not doing anything, just hanging
+--------------------------------------------
+
+**Answer:** See `MySQL is throwing deadlock errors, what can I do?`_.
+

+ 1 - 0
docs/index.rst

@@ -11,6 +11,7 @@ Contents:
     :maxdepth: 3
 
     introduction
+    faq
     reference/index