Stuck at signup
cyb3rsalih opened this issue · comments
I have follow the steps. Then npm start
, when go to localhost:3306 everything was fine. I tried to signup but it stuck when press signup button.
After about 30 seconds getting this error in console
Error: Connection lost: The server closed the connection.
Unhandled rejection Error: Connection lost: The server closed the connection.
at Protocol.end (/Users/mehmetsalihbindak/Desktop/GitLab/React-Mini-Social-Network/node_modules/mysql/lib/protocol/Protocol.js:109:13)
at Socket.<anonymous> (/Users/mehmetsalihbindak/Desktop/GitLab/React-Mini-Social-Network/node_modules/mysql/lib/Connection.js:109:28)
at emitNone (events.js:111:20)
at Socket.emit (events.js:208:7)
at endReadableNT (_stream_readable.js:1064:12)
at _combinedTickCallback (internal/process/next_tick.js:139:11)
at process._tickCallback (internal/process/next_tick.js:181:9)
--------------------
at Protocol._enqueue (/Users/mehmetsalihbindak/Desktop/GitLab/React-Mini-Social-Network/node_modules/mysql/lib/protocol/Protocol.js:141:48)
at Protocol.handshake (/Users/mehmetsalihbindak/Desktop/GitLab/React-Mini-Social-Network/node_modules/mysql/lib/protocol/Protocol.js:52:41)
at Connection.connect (/Users/mehmetsalihbindak/Desktop/GitLab/React-Mini-Social-Network/node_modules/mysql/lib/Connection.js:130:18)
at Object.<anonymous> (/Users/mehmetsalihbindak/Desktop/GitLab/React-Mini-Social-Network/models/mysql.js:14:4)
at Module._compile (module.js:653:30)
at Object.Module._extensions..js (module.js:664:10)
at Module.load (module.js:566:32)
at tryModuleLoad (module.js:506:12)
at Function.Module._load (module.js:498:3)
at Module.require (module.js:597:17)
at require (internal/module.js:11:18)
at Object.<anonymous> (/Users/mehmetsalihbindak/Desktop/GitLab/React-Mini-Social-Network/models/db.js:2:8)
at Module._compile (module.js:653:30)
at Object.Module._extensions..js (module.js:664:10)
at Module.load (module.js:566:32)
at tryModuleLoad (module.js:506:12)