https://github.com/louislam/mariadb-with-mroonga
https://github.com/louislam/mariadb-with-mroonga
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/louislam/mariadb-with-mroonga
- Owner: louislam
- License: mit
- Created: 2022-08-16T07:59:19.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2022-08-16T08:02:50.000Z (about 3 years ago)
- Last Synced: 2025-03-12T15:16:46.987Z (7 months ago)
- Language: Dockerfile
- Size: 1.95 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Docker Image - mariadb-with-mroonga
- Supported Arch: linux/amd64,linux/arm64
- Version: 10.5I am trying to do full-text searching on my existing MariaDB 10.5 container.
If you need other versions, feel free to ask me or fork this project and change the version number.
## Build the Image
Setup buildx:
```bash
docker buildx create --name mybuilder
docker buildx use mybuilder
```Start to build the image:
```bash
npm run build
```## How to Use
After the container started, login to your MariaDB and execute the following sql in order to activate Mroonga:
```mariadb
mysql> INSTALL SONAME 'ha_mroonga';
```Verify it:
```mariadb
mysql> SHOW ENGINES;
```Example Result:
```
...
| Mroonga | YES | CJK-ready fulltext search, column store | NO | NO | NO |
...
```### Side Notes
#### Update my Docker Swarm Service to this image
```bash
docker service update --image louislam/mariadb-with-mroonga:10.5
```