connect to mysql
parent
dd4f741240
commit
cc458ef974
@ -0,0 +1,12 @@
|
|||||||
|
const mysql = require("mysql");
|
||||||
|
|
||||||
|
parameters = {
|
||||||
|
host: "localhost",
|
||||||
|
user: "root",
|
||||||
|
password: "7572137",
|
||||||
|
database: "nusbank",
|
||||||
|
multipleStatements: true,
|
||||||
|
};
|
||||||
|
|
||||||
|
mysqlConnection = mysql.createConnection(parameters);
|
||||||
|
mysqlConnection.connect();
|
||||||
Loading…
Reference in New Issue