{"id":18960609,"url":"https://github.com/adel-bz/mssql-database","last_synced_at":"2026-04-16T10:35:22.347Z","repository":{"id":179859151,"uuid":"654886778","full_name":"adel-bz/MSSQL-Database","owner":"adel-bz","description":"Configuring and managing Microsoft SQL Server (MSSQL) instances with Docker.","archived":false,"fork":false,"pushed_at":"2024-06-08T11:12:28.000Z","size":36,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-02T05:59:20.185Z","etag":null,"topics":["bash","docker","mssql","mssql-config","php"],"latest_commit_sha":null,"homepage":"","language":"PHP","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/adel-bz.png","metadata":{"files":{"readme":"README.md","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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-06-17T08:31:50.000Z","updated_at":"2024-06-08T11:12:31.000Z","dependencies_parsed_at":"2024-06-08T12:27:35.156Z","dependency_job_id":"a4274217-38a4-4811-89fe-d1e3f98ef4cb","html_url":"https://github.com/adel-bz/MSSQL-Database","commit_stats":null,"previous_names":["adel-bz/vero-digital-solutions","adel-bz/mssql-database"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/adel-bz/MSSQL-Database","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adel-bz%2FMSSQL-Database","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adel-bz%2FMSSQL-Database/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adel-bz%2FMSSQL-Database/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adel-bz%2FMSSQL-Database/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adel-bz","download_url":"https://codeload.github.com/adel-bz/MSSQL-Database/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adel-bz%2FMSSQL-Database/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31882621,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-16T09:23:21.276Z","status":"ssl_error","status_checked_at":"2026-04-16T09:23:15.028Z","response_time":69,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["bash","docker","mssql","mssql-config","php"],"created_at":"2024-11-08T14:08:35.962Z","updated_at":"2026-04-16T10:35:22.297Z","avatar_url":"https://github.com/adel-bz.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MSSQL-Config\n\n# Table of Contents\n- [Introduction](https://github.com/adel-bz/MSSQL-Config#introduction)\n- [Configuration](https://github.com/adel-bz/MSSQL-Config#configuration)\n- [Requirements](https://github.com/adel-bz/MSSQL-Config#requirements)\n- [Usage](https://github.com/adel-bz/MSSQL-Config#usage)\n- [Test](https://github.com/adel-bz/MSSQL-Config#test)\n- [Refrences](https://github.com/adel-bz/MSSQL-Config#refrences)\n\n\n# Introduction\nWelcome to the MSSQL-Config project repository! This project aims to provide a convenient and standardized way to configure and manage Microsoft SQL Server instances with Docker.\nI installed dependencies drivers for MSSQL on the container.\nAlso, I used Apache as a webserver and a PHP code (QuickDbTest.php) for testing MSSQL Database.\n\n# Configuration\n## API\nAPI directory includes Apache configs as a webserver and a Dockerfile for installing MSSQL drivers to connect to the database.\nYou can use Nginx instead of Apache as a websever.\n\n## DB\nDB directory includes config files for creating and configuring Microsoft SQL Server.\n\nIf you want to change the database name you should change ```db_example``` on ```db/setup.sql``` to your database name. On top of that you should change ```private const db``` on ```QuickDbTest.php```  to your database name.\n\nOn the other hand, to change the database password, you should change ```private const pass ``` on ```QuickDbTest.php```  and ```SA_PASSWORD``` on ```docker-compose.yml```.\n\n# Requirements\n#### Step 1 \nOS: Linux all versions (Ubuntu recommended).\n\n#### Step 2 \nInstall [Docker](https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-on-ubuntu-22-04) and [docker-compose](https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-compose-on-ubuntu-20-04) on your machine.\n\n# Usage\n## Clone project\n```  \ngit clone https://github.com/adel-bz/MSSQL-Config.git\n```\n## Run project\n```\ncd MSSQL-Config\nsudo bash launcher.sh\n```\n## Stop project\n```\nsudo docker-compose down -v\n```\n\n# Test\nWrite the below address on your browser:\n```\nhttp://127.0.0.1:4567/QuickDbTest.php\n```\nOr use the below command on your terminal:\n```\ncurl http://127.0.0.1:4567/QuickDbTest.php\n```\nYou must get a response like this:\n```\n\u003cpre\u003e\n[\n    {\n        \"congratulations\": \"Success!!!\",\n        \"stars\": \"1\"\n    },\n    {\n        \"congratulations\": \"You did it!!!\",\n        \"stars\": \"2\"\n    }\n]\u003c/pre\u003e\n```\n\n# Refrences\nhttps://hub.docker.com/_/microsoft-mssql-server\n\nhttps://gist.github.com/xenogew/3440d323b00e1d661966f2b2ca3ef64a\n\nhttps://stackoverflow.com/questions/75631319/pecl-install-pdo-sqlsrv-make-fails-on-ddev-using-debian-11-missing-libltdl-la\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadel-bz%2Fmssql-database","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadel-bz%2Fmssql-database","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadel-bz%2Fmssql-database/lists"}