Gitlab@Informatics

Skip to content
Snippets Groups Projects
Commit 149f4a64 authored by 65160126's avatar 65160126
Browse files

sql createConnection Update

parent c008e883
No related branches found
No related tags found
No related merge requests found
...@@ -2,9 +2,10 @@ const mysql = require('mysql2'); ...@@ -2,9 +2,10 @@ const mysql = require('mysql2');
const path = require('path'); const path = require('path');
const db = mysql.createConnection({ const db = mysql.createConnection({
host: 'localhost', host: 'localhost' || "10.104.22.31",
port: 3306,
user: 'root', user: 'root',
password: '', password: '' || "MAXrkt06755",
database: 'Project' database: 'Project'
}); });
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment