I hacked this together using an example of a simple tcp service on the web written in C, to create a self serving web page which would post a query to a mysql database when the url is hit.
Features
- Ability to specify listening port as a command line argument
- Connect and Query to a MySQL database without a LAMP stack
Follow MP MySQL C API Check
Other Useful Business Software
Simplify IT and security with a single endpoint management platform
NinjaOne automates the hardest parts of IT, delivering visibility, security, and control over all endpoints for more than 20,000 customers.
The NinjaOne automated endpoint management platform is proven to increase productivity, reduce security risk, and lower costs for IT teams and managed service providers. The company seamlessly integrates with a wide range of IT and security technologies. NinjaOne is obsessed with customer success and provides free and unlimited onboarding, training, and support.
Rate This Project
Login To Rate This Project
User Reviews
-
this is a great way to run a light monitoring service where you can check whats in a DB without needing the complete MySQL/PHP stack or even a webserver, as this does it all by itself. Then all you need to do is curl to the address:port that you run the service on and the programme can give you back a true if the entry is valid or fail the test if not.