Show More
@@ -24,7 +24,7 b' Next, you need to create the databases u' | |||||
24 | use PostgreSQL or SQLite (default). If you choose a database other than the |
|
24 | use PostgreSQL or SQLite (default). If you choose a database other than the | |
25 | default, ensure you properly adjust the database URL in your ``my.ini`` |
|
25 | default, ensure you properly adjust the database URL in your ``my.ini`` | |
26 | configuration file to use this other database. Kallithea currently supports |
|
26 | configuration file to use this other database. Kallithea currently supports | |
27 | PostgreSQL, SQLite and MySQL databases. Create the database by running |
|
27 | PostgreSQL, SQLite and MariaDB/MySQL databases. Create the database by running | |
28 | the following command:: |
|
28 | the following command:: | |
29 |
|
29 | |||
30 | kallithea-cli db-create -c my.ini |
|
30 | kallithea-cli db-create -c my.ini |
@@ -51,7 +51,7 b' file.' | |||||
51 | If using PostgreSQL, please consult the documentation for the ``pg_dump`` |
|
51 | If using PostgreSQL, please consult the documentation for the ``pg_dump`` | |
52 | utility. |
|
52 | utility. | |
53 |
|
53 | |||
54 | If using MySQL, please consult the documentation for the ``mysqldump`` |
|
54 | If using MariaDB/MySQL, please consult the documentation for the ``mysqldump`` | |
55 | utility. |
|
55 | utility. | |
56 |
|
56 | |||
57 | Look for ``sqlalchemy.url`` in your configuration file to determine |
|
57 | Look for ``sqlalchemy.url`` in your configuration file to determine |
@@ -40,7 +40,7 b' SQLite is a good option when having a sm' | |||||
40 | locking issues with SQLite, it is not recommended to use it for larger |
|
40 | locking issues with SQLite, it is not recommended to use it for larger | |
41 | deployments. |
|
41 | deployments. | |
42 |
|
42 | |||
43 |
Switching to |
|
43 | Switching to PostgreSQL or MariaDB/MySQL will result in an immediate performance | |
44 | increase. A tool like SQLAlchemyGrate_ can be used for migrating to another |
|
44 | increase. A tool like SQLAlchemyGrate_ can be used for migrating to another | |
45 | database platform. |
|
45 | database platform. | |
46 |
|
46 |
@@ -463,6 +463,7 b' sqlalchemy.url = postgresql://user:pass@' | |||||
463 | %elif database_engine == 'mysql': |
|
463 | %elif database_engine == 'mysql': | |
464 | <%text>##</%text> MySQL |
|
464 | <%text>##</%text> MySQL | |
465 | sqlalchemy.url = mysql://user:pass@localhost/kallithea?charset=utf8 |
|
465 | sqlalchemy.url = mysql://user:pass@localhost/kallithea?charset=utf8 | |
|
466 | <%text>##</%text> Note: the mysql:// prefix should also be used for MariaDB | |||
466 |
|
467 | |||
467 | %endif |
|
468 | %endif | |
468 | <%text>##</%text> see sqlalchemy docs for other backends |
|
469 | <%text>##</%text> see sqlalchemy docs for other backends |
General Comments 0
You need to be logged in to leave comments.
Login now