=======================
_A plugin for [TiddlyWeb](http://tiddlyweb.com) subclassing
[tiddlywebplugins.sqlalchemy3](https://github.com/cdent/tiddlywebplugins.sqlalchemy)
with MySQL specifics._
The main additions to sqlalchemy3 are:
* Optionally extend the search interface using mysql's fulltext.
* Support finding tiddlers that have geo.lat and geo.long fields
near a location.
Setup
-----
MySQL 5.5 or beyond is required for full Unicode support.
It is important to set some mysql my.cnf variables if you are using
the fulltext indexing otherwise searches will likely fail.
```
[mysqld]
ft_min_word_len = 3
ft_stopword_file = ''
```
You will need to create a database:
```
create database tiddlyweb character set = utf8mb4 collate = utf8mb4_bin;
```
Make sure you `GRANT` appropriate `PRIVILEGES` on the database.
Add the following to `tiddlywebconfig.py`:
```
'server_store': ['tiddlywebplugins.mysql', {
'db_config': 'mysql:///tiddlyweb?charset=utf8mb4'}],
'indexer': 'tiddlywebplugins.mysql', # optional
```
If you want to use the fulltext indexing capability you will need to
create the fulltext index:
```
CREATE FULLTEXT INDEX tiddlytext ON text(text);
```
Also set `mysql.fulltext` to `True` in `tiddlywebconfig.py`. This makes
sure the text table will be `MyISAM`.
Note that even if fulltext is not turned on, text searches will still
work, but not as flexibly.
See <http://tiddlyweb-sql.tiddlyspace.com/> for additional documentation and
assistance.
Thanks
------
Thanks to [Adrian Hosey](http://adrianhosey.blogspot.com/) for help over
some SQL humps.
Metadata
Release files for tiddlywebplugins.mysql3 3.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| tiddlywebplugins.mysql3-3.1.2.tar.gz | 29.9 kB | Without provenance | Details for tiddlywebplugins.mysql3-3.1.2.tar.gz |
Release files / tiddlywebplugins.mysql3-3.1.2.tar.gz
| Download URL | tiddlywebplugins.mysql3-3.1.2.tar.gz |
|---|---|
| Size | 29.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e38fb265a3557be33372b5c5b22330cb1f59bdf14105e44ec5531ec3310e3c34
|
|
BLAKE2b-256 checksum How to use checksums |
54f54023b9be7fa23a04d5598046262f2bc5b3549d11d7023f23507e12319146
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for tiddlywebplugins.mysql3 3.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.