Merge pull request #3501 from JSuenram/master
Translation updates. Small mySQL-Fix (only tested against mysQL 8.0.26)
This commit is contained in:
commit
aa153558f8
4
db.js
4
db.js
|
@ -665,13 +665,13 @@ module.exports.CreateDB = function (parent, func) {
|
|||
} else if (parent.args.mysql) {
|
||||
// Use MySQL
|
||||
obj.databaseType = 5;
|
||||
var tempDatastore = require('mysql').createConnection(connectionObject);
|
||||
var tempDatastore = require('mysql').createPool(connectionObject);
|
||||
tempDatastore.query('CREATE DATABASE IF NOT EXISTS ' + dbname, function (error) {
|
||||
if (error != null) {
|
||||
console.log('Auto-create database failed: ' + error);
|
||||
}
|
||||
connectionObject.database = dbname;
|
||||
Datastore = require('mysql').createConnection(connectionObject);
|
||||
Datastore = require('mysql').createPool(connectionObject);
|
||||
createTablesIfNotExist(dbname);
|
||||
});
|
||||
setTimeout(function () { tempDatastore.end(); }, 2000);
|
||||
|
|
|
@ -748,7 +748,7 @@
|
|||
},
|
||||
{
|
||||
"cs": "(Žádný)",
|
||||
"de": "(Keiner)",
|
||||
"de": "(keiner)",
|
||||
"en": "(None)",
|
||||
"es": "(Ninguno)",
|
||||
"fi": "(Ei mitään)",
|
||||
|
@ -1081,6 +1081,7 @@
|
|||
]
|
||||
},
|
||||
{
|
||||
"de": ", täglich wiederkehrend",
|
||||
"en": ", Reccuring daily",
|
||||
"pl": ", Powtarzaj codziennie",
|
||||
"xloc": [
|
||||
|
@ -1089,6 +1090,7 @@
|
|||
]
|
||||
},
|
||||
{
|
||||
"de": ", wöchentlich wiederkehrend",
|
||||
"en": ", Reccuring weekly",
|
||||
"pl": ", Powtarzaj co tydzień",
|
||||
"xloc": [
|
||||
|
|
Loading…
Reference in New Issue