[doc] Don't pretend we know cubicweb runs on mysql
authorJulien Cristau <julien.cristau@logilab.fr>
Wed, 26 Mar 2014 12:30:52 +0100
changeset 10221 17ad882a211f
parent 10216 ae8df3692fba
child 10222 75d6096216d7
[doc] Don't pretend we know cubicweb runs on mysql As far as I know it hasn't been tested in years.
doc/book/en/admin/config.rst
doc/book/en/annexes/faq.rst
server/sources/native.py
--- a/doc/book/en/admin/config.rst	Tue Mar 03 14:58:16 2015 +0100
+++ b/doc/book/en/admin/config.rst	Wed Mar 26 12:30:52 2014 +0100
@@ -43,7 +43,7 @@
 Each instance can be configured with its own database connection information,
 that will be stored in the instance's :file:`sources` file. The database to use
 will be chosen when creating the instance. CubicWeb is known to run with
-Postgresql (recommended), MySQL, SQLServer and SQLite.
+Postgresql (recommended), SQLServer and SQLite, and may run with MySQL.
 
 Other possible sources of data include CubicWeb, Subversion, LDAP and Mercurial,
 but at least one relational database is required for CubicWeb to work. You do
@@ -162,6 +162,8 @@
 
 MySql
 ~~~~~
+.. warning::
+    CubicWeb's MySQL support is not commonly used, so things may or may not work properly.
 
 You must add the following lines in ``/etc/mysql/my.cnf`` file::
 
--- a/doc/book/en/annexes/faq.rst	Tue Mar 03 14:58:16 2015 +0100
+++ b/doc/book/en/annexes/faq.rst	Wed Mar 26 12:30:52 2014 +0100
@@ -83,11 +83,9 @@
 
 2. it offers an abstraction layer allowing your applications to run
    on multiple back-ends. That means not only various SQL backends
-   (postgresql, sqlite, mysql), but also multiple databases at the
-   same time, and also non-SQL data stores like LDAP directories and
-   subversion/mercurial repositories (see the `vcsfile`
-   component). Google App Engine is yet another supported target for
-   RQL.
+   (postgresql, sqlite, sqlserver, mysql), but also non-SQL data stores like
+   LDAP directories and subversion/mercurial repositories (see the `vcsfile`
+   component).
 
 Which ajax library is CubicWeb using ?
 --------------------------------------
--- a/server/sources/native.py	Tue Mar 03 14:58:16 2015 +0100
+++ b/server/sources/native.py	Wed Mar 26 12:30:52 2014 +0100
@@ -272,7 +272,7 @@
          {'type' : 'string',
           'default': 'postgres',
           # XXX use choice type
-          'help': 'database driver (postgres, mysql, sqlite, sqlserver2005)',
+          'help': 'database driver (postgres, sqlite, sqlserver2005)',
           'group': 'native-source', 'level': 0,
           }),
         ('db-host',