https://github.com/chen0040/java-mariadb-standalone-server
Simple mariadb standalone server which allows shutdown via web api call
https://github.com/chen0040/java-mariadb-standalone-server
mariadb-server sparkjava standalone web-api
Last synced: 3 months ago
JSON representation
Simple mariadb standalone server which allows shutdown via web api call
- Host: GitHub
- URL: https://github.com/chen0040/java-mariadb-standalone-server
- Owner: chen0040
- License: mit
- Created: 2017-09-15T04:09:21.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-09-16T05:41:04.000Z (over 7 years ago)
- Last Synced: 2025-01-29T00:49:53.982Z (4 months ago)
- Topics: mariadb-server, sparkjava, standalone, web-api
- Language: Shell
- Size: 58.5 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# java-mariadb-standalone-server
Simple mariadb standalone server which allows shutdown via web api call
# Feature
* Standalone redis server that can run without additional installation on Windows, Linux and MacOS.
* Allow the database to run the /resources/db-init.sql (which by default create a database named "spring_boot_slingshot") on startup
* Allow shut down of the redis server remotely via web api call# Usage
copy the redis-standalone.jar to your directory and run the following command:```bash
java -jar mariadb-standalone.jar
```This will start the redis server at port 3066 and start another web server at port 3088.
To check whether the mariadb server is alive, call the following url:
http://localhost:3088/ping
To kill the mariadb server remotely, just call the following url:
http://localhost:3088/kill
# Note
In case you want to modify the behavior the mariadb server (e.g, overwritting the /resources/db-init.sql) and want to rebuild, you can run the make.ps1 on Windows
or make.sh on Linux or Mac.