{"id":15604449,"url":"https://github.com/dplewis/parse-server-mysql-adapter","last_synced_at":"2025-10-17T04:47:40.124Z","repository":{"id":37677993,"uuid":"97089914","full_name":"dplewis/parse-server-mysql-adapter","owner":"dplewis","description":"MySQL Adapter for Parse Server","archived":false,"fork":false,"pushed_at":"2024-11-01T01:23:08.000Z","size":57,"stargazers_count":47,"open_issues_count":7,"forks_count":13,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-04-02T03:41:49.760Z","etag":null,"topics":["hacktoberfest","mysql-adapter","parse-server"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dplewis.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","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":"2017-07-13T06:51:45.000Z","updated_at":"2025-01-21T18:29:23.000Z","dependencies_parsed_at":"2022-08-25T20:41:12.942Z","dependency_job_id":"e227e765-7b4d-4543-8a31-2cf4a9f6c03e","html_url":"https://github.com/dplewis/parse-server-mysql-adapter","commit_stats":{"total_commits":14,"total_committers":2,"mean_commits":7.0,"dds":0.1428571428571429,"last_synced_commit":"98d0356f58fc378d8c021550faf523bd2cff4ddc"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dplewis%2Fparse-server-mysql-adapter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dplewis%2Fparse-server-mysql-adapter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dplewis%2Fparse-server-mysql-adapter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dplewis%2Fparse-server-mysql-adapter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dplewis","download_url":"https://codeload.github.com/dplewis/parse-server-mysql-adapter/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247399872,"owners_count":20932876,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["hacktoberfest","mysql-adapter","parse-server"],"created_at":"2024-10-03T03:41:27.601Z","updated_at":"2025-10-17T04:47:40.034Z","avatar_url":"https://github.com/dplewis.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# MySQL Parse Server Adapter\n[![Build Status](https://travis-ci.org/dplewis/parse-server-mysql-adapter.svg?branch=master)](https://travis-ci.org/dplewis/parse-server-mysql-adapter)\n[![codecov.io](https://codecov.io/gh/dplewis/parse-server-mysql-adapter/coverage.svg?branch=master)](https://codecov.io/gh/dplewis/parse-server-mysql-adapter?branch=master)\n[![npm version](https://badge.fury.io/js/parse-server-mysql-adapter.svg)](https://badge.fury.io/js/parse-server-mysql-adapter)\n[![Greenkeeper badge](https://badges.greenkeeper.io/dplewis/parse-server-mysql-adapter.svg)](https://greenkeeper.io/)\n\nThis is database adapter to add support of MySQL to Parse Server\n\n## Setup\n\nRuns on Parse-Server 2.5.0+\nRuns on MySQL \u003e= 5.7.\n\nCreate **one** Database using the MySQL CLI or Query Expression Editor on your MySQL instance.\n\n```\nmysql\u003e CREATE DATABASE `database_here`\n```\n\n## Usage\n\n```\nconst uri = 'mysql://root@localhost:3306/database_here';\nconst { MySQL } = require('parse-server-mysql-adapter');\nconst mysql = new MySQL(uri);\n\nvar api = new ParseServer({\n  databaseAdapter: mysql.getAdapter(),\n  appId: 'myAppId',\n  masterKey: 'myMasterKey'\n  serverURL: 'http://localhost:1337/parse'\n  ...\n});\n```\nThis adapter is backwards compatible with `node-mysql`. You can pass connection options into the adapter.\nYou can find a list of available options [here](https://github.com/mysqljs/mysql#connection-options)\n\n---\n\n## Limits in MySQL\n\nJust like other databases MySQL has also some limits that are documented [here](https://dev.mysql.com/doc/refman/5.7/en/limits.html)\n\n## Compatibility with Parse Server\n\nPlease remember MySQL has recently added a JSON Type in version 5.7. This adapter tried its best to simulate how Parse Server works with other Databases like Postgres, however these features or functions won't work as you expect. Features including JSON and Array will be improved in future updates.\n\n- **Removing From Array** : You can only `remove` strings from array and only one.\n- **Regex** : Limited support for regex.\n\n---\n\n## Logging\n\nYou can enable verbose logging with environment variables:\n\n```\nVERBOSE=1\n\nor\n\nVERBOSE_PARSE_SERVER_MYSQL_ADAPTER=1\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdplewis%2Fparse-server-mysql-adapter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdplewis%2Fparse-server-mysql-adapter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdplewis%2Fparse-server-mysql-adapter/lists"}