Connection {
domain: null,
_events: {},
_eventsCount: 0,
_maxListeners: undefined,
config:
ConnectionConfig {
host:<...тут всё в порядке...>
clientFlags: 455631,
(!?) protocol41: true },
_socket:
Socket {
_connecting: false,
_hadError: false,
_handle:
(!?) TCP {
_externalStream: {},
fd: -1,
reading: true,
owner: [Circular],
onread: [Function: onread],
onconnection: null,
writeQueueSize: 0 },
_parent: null,
_host: 'localhost',
_readableState:
ReadableState {
<порядок>
(!?) reading: false,
sync: false,
needReadable: true,
emittedReadable: false,
readableListening: false,
resumeScheduled: false,
defaultEncoding: 'utf8',
ranOut: false,
awaitDrain: 0,
readingMore: false,
decoder: null,
encoding: null },
(!?) readable: true,
domain: null,
_events:
{ end: [Object],
finish: [Function: onSocketFinish],
_socketEnd: [Function: onSocketEnd],
data: [Function],
error: [Function: bound ],
connect: [Object] },
(~7) _eventsCount: 6,
_maxListeners: undefined,
_writableState:
WritableState {
objectMode: false,
highWaterMark: 16384,
needDrain: false,
(~) ending: false,
(~) ended: false,
(~) finished: false,
decodeStrings: false,
defaultEncoding: 'utf8',
length: 0,
writing: false,
corked: 0,
(~) sync: false,
bufferProcessing: false,
onwrite: [Function],
writecb: null,
writelen: 0,
bufferedRequest: null,
lastBufferedRequest: null,
pendingcb: 0,
(~) prefinished: false,
errorEmitted: false,
bufferedRequestCount: 0,
corkedRequestsFree: [Object] },
(~) writable: true,
allowHalfOpen: false,
(~) destroyed: false,
(~) bytesRead: 501,
(~) _bytesDispatched: 102,
_sockname: null,
_pendingData: null,
_pendingEncoding: '',
server: null,
_server: null,
_idleTimeout: -1,
_idleNext: null,
_idlePrev: null,
(~) _idleStart: 605,
read: [Function],
_consuming: true },
_protocol:
Protocol {
domain: null,
_events:
{ data: [Function],
end: [Object],
handshake: [Function: bound _handleProtocolHandshake],
unhandledError: [Function: bound ],
drain: [Function: bound ],
enqueue: [Function: bound _handleProtocolEnqueue] },
_eventsCount: 6,
_maxListeners: undefined,
readable: true,
writable: true,
_config:
ConnectionConfig {
host: 'localhost',
port: 3306,
localAddress: undefined,
socketPath: undefined,
user: 'root',
password: 'root',<...тут всё в порядке...>
clientFlags: 455631,
(!?) protocol41: true },
_connection: [Circular],
_callback: null,
(~) _fatalError: null,
_quitSequence:
Quit {
<...> _repeat: null },
_handshakeSequence:
Handshake {
<...>
(?) _handshakeInitializationPacket: [Object] },
(~) _handshaked: true,
_ended: false,
_destroyed: false,
(~) _queue: [ [Object], [Object] ],
(~) _handshakeInitializationPacket:
HandshakeInitializationPacket {
protocolVersion: 10,
serverVersion: '5.7.11-log',
threadId: 77,
scrambleBuff1: <Buffer 3a 35 15 47 06 63 59 67>,
filler1: <Buffer 00>,
serverCapabilities1: 63487,
serverLanguage: 33,
serverStatus: 2,
serverCapabilities2: 33279,
scrambleLength: 21,
filler2: <Buffer 00 00 00 00 00 00 00 00 00 00>,
scrambleBuff2: <Buffer 15 50 22 28 65 4d 64 7c 64 5b 1a 2d>,
filler3: <Buffer 00>,
pluginData: 'mysql_native_password',
protocol41: true },
_parser:
Parser {
_supportBigNumbers: false,
(+) _buffer: <Buffer 01 00 ... >,
_longPacketBuffers: [],
(+) _offset: 408,
(+) _packetEnd: 408,
(+) _packetHeader: [Object],
(+) _packetOffset: 403,
_onError: [Function: bound handleParserError],
_onPacket: [Function: bound ],
(+) _nextPacketNumber: 16,
_encoding: 'utf-8',
_paused: false } },
_connectCalled: true,
(!?)state: 'authenticated',
(!?)threadId: 77 } |