1
0
mirror of https://github.com/haiwen/seafile-server.git synced 2025-07-01 17:31:54 +00:00
Commit Graph

19 Commits

Author SHA1 Message Date
feiniks
2d3513a631
Support unix-socket auth for mariadb (#642)
Co-authored-by: 杨赫然 <heran.yang@seafile.com>
2023-12-26 17:01:20 +08:00
feiniks
864cef1c22
Support unix_socket option of database (#623)
* Support unix_socket option of database

* Set default auth plugin when use unix_socket

---------

Co-authored-by: 杨赫然 <heran.yang@seafile.com>
2023-06-27 16:59:19 +08:00
feiniks
47c694e22f
Support tls for libmariadb (#613)
Co-authored-by: 杨赫然 <heran.yang@seafile.com>
2023-05-18 16:48:48 +08:00
feiniks
b558426da8
Add ca_path and skip_verify option for mysql (#610)
* Add ca_path and skip_verify option for mysql

* Add comment

---------

Co-authored-by: 杨赫然 <heran.yang@seafile.com>
2023-04-23 14:39:40 +08:00
feiniks
4489898fe1
Improve mysql connection pool (#581)
* Improve mysql connection pool

* Add re-query log

Co-authored-by: 杨赫然 <heran.yang@seafile.com>
2022-12-05 18:36:26 +08:00
sun20121818
ca63ba1269
Add mysql connect option. (#501) 2021-10-08 16:28:28 +08:00
feiniks
814b796038
Close connection when failed to query mysql (#446)
* Close connection when failed to query mysql (#318)

* Close connection when failed to query mysql

* Close connection when failed to handle transaction

* Fix ci error
2021-02-01 16:02:47 +08:00
feiniks
4d65689c79
Return db error when failed to connect mysql (#413) 2020-09-25 10:56:59 +08:00
feiniks
cf7e938a33
Fix error when set max_connections to 0 (#366) 2020-06-28 12:02:46 +08:00
feiniks
95bef26164
mysql add connection pool and keepalive thread (#365) 2020-06-24 16:32:46 +08:00
杨赫然
8a31a344c4 Add repo sort function 2020-01-08 12:13:59 +08:00
杨赫然
923e1821e2 Add repo sort function 2020-01-07 10:25:19 +08:00
Jonathan Xu
bda91af9d3 Make mysqlclient dependency optional. 2019-06-24 15:06:06 +08:00
Jonathan Xu
2327ed11cc Rewrite database access layer.
Remove support for PostgreSQL at the same time.
2019-06-21 17:09:39 +08:00
cuihaikuo
5a443b1bf8 Exit if failed to init http request.
Fix rollback issue.
2018-03-23 17:44:22 +08:00
cuihaikuo
bcd7ad8f0b Postgresql port setting 2017-01-16 15:56:51 +08:00
Jiaqiang Xu
5a50db9c48 Conditional compile MySQL and PostgreSQL support. 2016-08-20 17:32:22 +08:00
Jiaqiang Xu
f52ffdfb23 Add connection pool for db. 2016-08-20 15:29:51 +08:00
Jiaqiang Xu
2643119433 Initial commit of Seafile server core. 2016-08-19 13:54:16 +08:00