develop #26

Merged
vex merged 48 commits from develop into main 2025-04-21 15:14:19 +00:00
3 changed files with 17 additions and 0 deletions
Showing only changes of commit 937329c9a4 - Show all commits

View File

@ -0,0 +1,17 @@
const mysql = require('mysql');
const connection = mysql.createConnection({
host: "localhost",
user: "root",
password: "root",
database: "webshop"
});
connection.connect(function (err) {
if (err) throw err;
console.log("Connected to database");
connection.query("SELECT * FROM users", function (err, result) {
if (err) throw err;
console.log(result);
})
});