Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

Download
ActivePython
INSTALL>
pypm install tiddlywebplugins.mysql3

How to install tiddlywebplugins.mysql3

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install tiddlywebplugins.mysql3
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
3.0.8
3.1.1Never BuiltWhy not?
3.0.8 Available View build log
3.0.1 Available View build log
3.0.0 Available View build log
Windows (64-bit)
3.0.1
3.1.1Never BuiltWhy not?
3.0.1 Available View build log
3.0.0 Available View build log
Mac OS X (10.5+)
3.0.4
3.1.1Never BuiltWhy not?
3.0.4 Available View build log
3.0.1 Available View build log
3.0.0 Available View build log
Linux (32-bit)
3.0.8
3.1.1Never BuiltWhy not?
3.0.8 Available View build log
3.0.4 Available View build log
3.0.3 Available View build log
3.0.1 Available View build log
3.0.0 Available View build log
Linux (64-bit)
3.1.1 Available View build log
3.0.8 Available View build log
3.0.4 Available View build log
3.0.3 Available View build log
3.0.1 Available View build log
3.0.0 Available View build log
 
Author
License
BSD
Lastest release
version 3.1.1 on Jan 9th, 2014

_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', {

System Message: WARNING/2 (<string>, line 38); backlink

Inline literal start-string without end-string.

System Message: ERROR/3 (<string>, line 40)

Unexpected indentation.
'db_config': 'mysql:///tiddlyweb?charset=utf8mb4'}],

System Message: WARNING/2 (<string>, line 41)

Block quote ends without a blank line; unexpected unindent.

'indexer': 'tiddlywebplugins.mysql', # optional ```

System Message: WARNING/2 (<string>, line 41); backlink

Inline literal start-string without end-string.

System Message: WARNING/2 (<string>, line 41); backlink

Inline interpreted text or phrase reference start-string without end-string.

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.

Subscribe to package updates

Last updated Jan 9th, 2014

Download Stats

Last month:9

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.