SHARE
TWEET

Untitled

a guest Jun 16th, 2019 69 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. const mysql = require('mysql');
  2. const connection = mysql.createConnection({
  3.   host     : 'hostname',
  4.   port     : 'portnum',
  5.   user     : 'db_user',
  6.   password : 'db_user_password',
  7.   database : 'db_name',
  8.   charset : 'utf8mb4'
  9. });
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top