{"id":50863637,"url":"https://github.com/dannote/mod-ndb","last_synced_at":"2026-06-14T23:05:39.122Z","repository":{"id":34564171,"uuid":"38510006","full_name":"dannote/mod-ndb","owner":"dannote","description":"Automatically exported from code.google.com/p/mod-ndb","archived":false,"fork":false,"pushed_at":"2015-07-03T20:50:12.000Z","size":3276,"stargazers_count":0,"open_issues_count":37,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2026-04-27T16:38:59.685Z","etag":null,"topics":["apache-module","c","mysql-cluster","ndb","rest-api"],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dannote.png","metadata":{"files":{"readme":"README","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-07-03T20:47:38.000Z","updated_at":"2026-04-14T09:26:47.000Z","dependencies_parsed_at":"2022-09-08T15:01:33.493Z","dependency_job_id":null,"html_url":"https://github.com/dannote/mod-ndb","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dannote/mod-ndb","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dannote%2Fmod-ndb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dannote%2Fmod-ndb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dannote%2Fmod-ndb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dannote%2Fmod-ndb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dannote","download_url":"https://codeload.github.com/dannote/mod-ndb/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dannote%2Fmod-ndb/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34340834,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-14T02:00:07.365Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["apache-module","c","mysql-cluster","ndb","rest-api"],"created_at":"2026-06-14T23:05:38.409Z","updated_at":"2026-06-14T23:05:39.114Z","avatar_url":"https://github.com/dannote.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"This is mod_ndb, an Apache module that provides a REST Web Services API for\nMySQL Cluster.\n\n\n--- BUILDING THE MODULE ---\n\nMySQL Cluster and Apache must be installed, including all header files and \nshared libraries.\n\n# ./configure --mysql=/path/to/mysql_config --apxs=/path/to/apxs\n# make\n\nNote that this configure script is not GNU Autoconf (which is not required, \nsince it has already been run to build MySQL), but rather a small script which\ncan use the \"mysql_config\" and \"apxs\" commands to generate an appropriate \nMakefile for mod_ndb.\n\n\n---- BUILDING ON Red Hat Enterprise Linux and similar ---- \n1) Install httpd-devel using yum\n2) Install the MySQL-Cluster-gpl-devel RPM from dev.mysql.com/downloads\n3) Configure mod_ndb with:  ./configure --apxs=/usr/sbin/apxs\n4) make\n5) See below to start the server and then run the test suite\n\n--- STARTING THE SERVER ---\n\n1) You will need some [API] node ids in your MySQL Cluster configuration -- \none for each httpd process. \n\nAdd these to the cluster configuration file (config.ini) and restart your \nmanagement server.\n\nYou should be able to run the test suite succesfully with ten of these, even\nusing a \"prefork\" MPM.   But for production use, a multi-threaded MPM such as\n\"worker\" is recommended.\n\n2) Read over and edit the file \"test.conf\".  At a minimum, set \nndb-connectstring to point to your cluster management server  \n\n3) Type \"make start\" to start a test httpd server that includes mod_ndb.\n   \"make stop\" will stop the server. \n   Note the server error log file --  logs/ndb_error_log  \n\n4) Apache must be able to load several NDB and MySQL libraries from \nthe mysql lib directory (e.g. /usr/local/lib/mysql); if the server will not\nstart up due to a failure here, you may need to set LD_LIBRARY_PATH.\n\n5) If the server starts and attempts to initialize mod_ndb, there will be \none or more notices in the Apache server log file, such as \n\n[notice] Cannot connect to NDB Cluster\n\n-- indicating failure, or a succesful notice like:\n\n[notice] Process 457 connected to NDB Cluster as node 5\n\n\n\n--- USING THE TEST SUITE ---\n\n% cd Tests\n% . lib.test.sh \n\n# Run the SQL queries to create the test database\n% vi Tests/my.cnf          # set the hostname\n% t.sql \n\n# Run all tests\n% t.test\n\n# Run a single test \n% t.test typ101\n\n\n--- OTHER BUILD NOTES FOR VARIOUS PLATFORMS ---\n\nIf you have a thread-safe mysql client library, configure mod_ndb with --thread-safe \n\nOn 64-bit linux you may need to build MySQL with\n  CFLAGS=-fPIC ./configure --with-ndbcluster --with-pic=yes\nto avoid a linker error \n\n\n--- FURTHER DOCUMENTATION ---\n\nMore documentation is available at: \n   http://forge.mysql.com/wiki/ProjectPage_mod_ndb\n\n\nEnjoy!\n\nJohn David Duncan\njdd@sun.com\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdannote%2Fmod-ndb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdannote%2Fmod-ndb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdannote%2Fmod-ndb/lists"}