Совсем недавно нашел в интернете интересный скрипт, подскажите что тут не так
Создал базу в OpenServer создал таблицы но все равно не фурычит
Ошибка из cmd
original: Error: Table 'bot.settings' doesn't exist
at Packet.asError (C:\Users\DeadD\Desktop\Новая папка\home\node_modules\mysql2\lib\packets\packet.js:712:17)
at Query.execute (C:\Users\DeadD\Desktop\Новая папка\home\node_modules\mysql2\lib\commands\command.js:28:26)
at Connection.handlePacket (C:\Users\DeadD\Desktop\Новая папка\home\node_modules\mysql2\lib\connection.js:425:32)
at PacketParser.onPacket (C:\Users\DeadD\Desktop\Новая папка\home\node_modules\mysql2\lib\connection.js:75:12)
at PacketParser.executeStart (C:\Users\DeadD\Desktop\Новая папка\home\node_modules\mysql2\lib\packet_parser.js:75:16)
at Socket.<anonymous> (C:\Users\DeadD\Desktop\Новая папка\home\node_modules\mysql2\lib\connection.js:82:25)
at Socket.emit (node:events:513:28)
at addChunk (node:internal/streams/readable:315:12)
at readableAddChunk (node:internal/streams/readable:289:9)
at Socket.Readable.push (node:internal/streams/readable:228:10) {
code: 'ER_NO_SUCH_TABLE',
errno: 1146,
sqlState: '42S02',
sqlMessage: "Table 'bot.settings' doesn't exist",
sql: 'SELECT `id`, `loggingGroupId`, `logsGroupId`, `allGroupId`, `requestsGroupId`, `payoutsChannelId`, `requestsEnabled`, `allLogsEnabled`, `allHelloMsgEnabled`, `allGroupLink`, `payoutsChannelLink`, `payoutPercent`, `createdAt`, `updatedAt` FROM `Settings` AS `Settings` WHERE `Settings`.`id` = 1;',
parameters: undefined
},
sql: 'SELECT `id`, `loggingGroupId`, `logsGroupId`, `allGroupId`, `requestsGroupId`, `payoutsChannelId`, `requestsEnabled`, `allLogsEnabled`, `allHelloMsgEnabled`, `allGroupLink`, `payoutsChannelLink`, `payoutPercent`, `createdAt`, `updatedAt` FROM `Settings` AS `Settings` WHERE `Settings`.`id` = 1;',
parameters: undefined
}