https://github.com/bjyurkovich/mysql-python-connection-test
Test mysql transaction connection localization
https://github.com/bjyurkovich/mysql-python-connection-test
Last synced: 3 months ago
JSON representation
Test mysql transaction connection localization
- Host: GitHub
- URL: https://github.com/bjyurkovich/mysql-python-connection-test
- Owner: bjyurkovich
- Created: 2017-02-27T16:45:25.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-02-27T16:48:36.000Z (over 8 years ago)
- Last Synced: 2025-01-21T06:43:30.372Z (5 months ago)
- Language: Python
- Size: 1000 Bytes
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Verification that mysql transactions are connection specific
Test mysql transaction connection localizationTo run:
```bash
pip install virtualenv
virtualenv venv
source venv/bin/activate
pip install -r requirements.txt
```Run the code:
```bash
python main.py
```You should see as output `((2L, 'Hello on connection 2'),)` and NOT `((2L, 'Hello on connection 1'),)`.