image

Tenifayo Ajibike

Nigeria Since13 Jun, 2024
Click to expand
Error

[nodemon] clean exit - waiting for changes before restart[nodemon] restarting due to changes...[nodemon] starting `node server.js`Error: querySrv ETIMEOUT _mongodb._tcp.cluster0.xynaatn.mongodb.net    at QueryReqWrap.onresolve [as oncomplete] (node:internal/dns/promises:275:17) {  errno: undefined,  code: 'ETIMEOUT',  syscall: 'querySrv&#...

  • 0
  • 0
Error

$dsn = "mysql:host = localhost:dbname = myfirstdb"; $dbusername = "root"; $dbpassword = "root";try {    $pdo = new pdo($dsn, $dbusername, $dbpassword);    $pdo->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); } catch (PDOException $e){    echo "Connection failed: " . $e->getMessage();}Connection failed: SQLSTATE[HY000] [2002] The requested add...

  • 0
  • 0
Node server error

I'm getting this error on my node terminal Error: listen EADDRINUSE: address already in use :::5000    at Server.setupListenHandle [as _listen2] (node:net:1897:16)    at listenInCluster (node:net:1945:12)    at Server.listen (node:net:2037:7)    at Object.<anonymous> (C:\Users\KINGSPARK\Desktop\javascript\server.js:20:8)    at Module._co...

  • 0
  • 0