the-scraper icon indicating copy to clipboard operation
the-scraper copied to clipboard

Bot closes

Open DRoce opened this issue 3 years ago • 5 comments

node index.js

runs, whenever I try a command

it errors

throw err; // Rethrow non-MySQL errors ^

TypeError: Cannot read properties of undefined (reading 'length') at Query. (/home/kali/the-scraper/index.js:475:20) at Query. (/home/kali/the-scraper/node_modules/mysql/lib/Connection.js:526:10) at Query._callback (/home/kali/the-scraper/node_modules/mysql/lib/Connection.js:488:16) at Query.Sequence.end (/home/kali/the-scraper/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24) at Query.ErrorPacket (/home/kali/the-scraper/node_modules/mysql/lib/protocol/sequences/Query.js:92:8) at Protocol._parsePacket (/home/kali/the-scraper/node_modules/mysql/lib/protocol/Protocol.js:291:23) at Parser._parsePacket (/home/kali/the-scraper/node_modules/mysql/lib/protocol/Parser.js:433:10) at Parser.write (/home/kali/the-scraper/node_modules/mysql/lib/protocol/Parser.js:43:10) at Protocol.write (/home/kali/the-scraper/node_modules/mysql/lib/protocol/Protocol.js:38:16) at Socket. (/home/kali/the-scraper/node_modules/mysql/lib/Connection.js:88:28)

unknown (5)

DRoce avatar Jul 11 '22 13:07 DRoce

You probably have an issue with your MySQL configuration. Make sure you are using the updated setup.sql script.

kogeki avatar Jul 14 '22 05:07 kogeki

I could not find the issue with my MySQL configuration, and I am using the updated setup.sql script.

DRoce avatar Jul 28 '22 20:07 DRoce

Does the bot say "Connected to database" after starting it?

kogeki avatar Jul 28 '22 20:07 kogeki

Yep, it does.

DRoce avatar Jul 28 '22 20:07 DRoce

i guess no fix ;c

DRoce avatar Aug 11 '22 14:08 DRoce