MYSQL Defining the database constrains

PHOTO EMBED

Mon Mar 21 2022 19:17:42 GMT+0000 (Coordinated Universal Time)

Saved by @mmzaghlool52 #markdown

import {MySQL, MySQLConfig} from 'nodejs-express-utils';

// the key that is used for the encryption and decryption the database
const encryptionKey = '';

// Your MySQL server credentials used initialize the connection
const config: MySQLConfig = {
    host: '',
    user: '',
    password: '',
    database: '',
};
const database = new MySQL(config, encryptionKey);

export default database;
content_copyCOPY