{"id":19218750,"url":"https://github.com/fadilxcoder/mariadb-mysql","last_synced_at":"2026-04-15T12:35:25.158Z","repository":{"id":86245566,"uuid":"338557653","full_name":"fadilxcoder/mariadb-mysql","owner":"fadilxcoder","description":"MariaDB / MySQL","archived":false,"fork":false,"pushed_at":"2021-07-14T17:48:20.000Z","size":352,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-30T15:48:27.838Z","etag":null,"topics":["database","php","sql"],"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/fadilxcoder.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":"2021-02-13T11:18:26.000Z","updated_at":"2022-07-06T19:05:25.000Z","dependencies_parsed_at":"2023-03-08T10:00:34.329Z","dependency_job_id":null,"html_url":"https://github.com/fadilxcoder/mariadb-mysql","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/fadilxcoder/mariadb-mysql","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fadilxcoder%2Fmariadb-mysql","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fadilxcoder%2Fmariadb-mysql/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fadilxcoder%2Fmariadb-mysql/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fadilxcoder%2Fmariadb-mysql/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fadilxcoder","download_url":"https://codeload.github.com/fadilxcoder/mariadb-mysql/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fadilxcoder%2Fmariadb-mysql/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31842185,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-15T11:29:19.690Z","status":"ssl_error","status_checked_at":"2026-04-15T11:29:19.171Z","response_time":63,"last_error":"SSL_read: 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":["database","php","sql"],"created_at":"2024-11-09T14:27:58.218Z","updated_at":"2026-04-15T12:35:25.137Z","avatar_url":"https://github.com/fadilxcoder.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MariaDB\n\n- `index.php` - connect with mariadb\n- Use `adminer.php` to connect to GUI\n- - HOST *localhost:3307*\n- - DB *maria_db_demo*\n\n### Reference\n\n- https://mariadb.com/kb/en/installing-mariadb-msi-packages-on-windows/ (Depend on OS)\n- `my-mariadb-db.sql`\n\n---\n\n# MySQL\n\n## Index / Explain statement\n\n- Index works best on those columns that are the subject of the **WHERE** clauses\n- TEXT / BLOB - Does not normally have lenght value, therefore cannot be indexed as it cannot guarantee uniqueness. use VARCHAR\n- `experimental_scripts.sql` - located *http://iox.000webhostapp.com/sql/experimental_scripts.sql*\n- \u003cpre\u003eSELECT * FROM `addresses` AS A INNER JOIN `cards` AS C INNER JOIN `users` AS U WHERE A.uid = U.id AND C.uid = U.id AND U.fname = 'Stacey' AND U.lname = 'Predovic'\u003c/pre\u003e\n- **No indexing** - Showing rows 0 - 24 (35 total, Query took **85.7867** seconds.)\n- **Indexing** - Showing rows 0 - 24 (35 total, Query took **0.9479** seconds.)\n- Adding Index to tables\n- - \u003e CREATE INDEX idx_fname ON users (`fname`);\n- - \u003e CREATE INDEX idx_lname ON users (`lname`);\n- - \u003e CREATE INDEX idx_uid ON addresses (`uid`);\n- - \u003e CREATE INDEX idx_uid ON cards (`uid`);\n- Difference with **EXPLAIN** Statement\n- - Before Indexing\n- - \u003cimg src=\"./assets/before-indexing.png\" /\u003e\n- - After Indexing\n- - \u003cimg src=\"./assets/after-indexing.png\" /\u003e\n\n---\n\n# Notes (Git LFS - large file storage)\n\n- Run `git lfs install`\n- create `.gitattributes`\n- Run `git lfs track '*.sql'` - Tracking all *.sql* files\n- Run `git add .gitattributes`","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffadilxcoder%2Fmariadb-mysql","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffadilxcoder%2Fmariadb-mysql","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffadilxcoder%2Fmariadb-mysql/lists"}