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
Build Securely on AWS with Proven Frameworks
Moving to the cloud brings new challenges. How can you manage a larger attack surface while ensuring great network performance? Turn to Fortinet’s Tested Reference Architectures, blueprints for designing and securing cloud environments built by cybersecurity experts. Learn more and explore use cases in this white paper.
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.