Aktualisiere Datenbankverbindung mit neuen Host- und Portinformationen sowie Passwort
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
Set-ExecutionPolicy RemoteSigned -Scope CurrentUser
|
||||
|
||||
|
||||
http://phpmyadmin-ikockwc4sccc8oogoocswgow.100.100.54.2.sslip.io/
|
||||
agione.ddns.net:5432
|
||||
root
|
||||
Jonas2007
|
||||
|
||||
<script src="/socket.io/socket.io.js"></script>
|
||||
|
||||
|
||||
@@ -5,8 +5,9 @@ class DataBaseManager {
|
||||
constructor(host, database) {
|
||||
this.connection = mySql.createConnection({
|
||||
host: host,
|
||||
port: 5432,
|
||||
user: "root",
|
||||
password:"",
|
||||
password: "Jonas2007",
|
||||
database: database
|
||||
});
|
||||
|
||||
|
||||
@@ -2,6 +2,6 @@ const DataBaseManager = require("./Database/DataBaseManager");
|
||||
const ExpressManager = require("./Express/ExpressManager");
|
||||
const SocketIOManager = require("./SocketIO/SocketIOManager");
|
||||
|
||||
const databaseManager = new DataBaseManager("localhost", "doublesnake");
|
||||
const databaseManager = new DataBaseManager("agione.ddns.de", "doublesnake");
|
||||
const expressManger = new ExpressManager(databaseManager);
|
||||
const socketIOManager = new SocketIOManager(databaseManager, expressManger);
|
||||
Reference in New Issue
Block a user