-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Description
(node:18776) UnhandledPromiseRejectionWarning: TypeError: MySQL is not a constructor
I've got this error.
here is my code
`const { MySQL } = require('parse-server-mysql-adapter');
const mysql = new MySQL(DB_URI);
const parseServerAPI = new ParseServer({
databaseURI: mysql.getAdapter(),
cloud: path.resolve(__dirname, 'server/cloud/main.ts'),
appId: APP_ID,
masterKey: MASTER_KEY,
serverURL: SERVER_URL,
appName: APP_NAME,
});`
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels