当前位置:网站首页>errno: -4078, code: ‘ECONNREFUSED‘, syscall: ‘connect‘, address: ‘127.0.0.1‘, port: 3306; Postman error
errno: -4078, code: ‘ECONNREFUSED‘, syscall: ‘connect‘, address: ‘127.0.0.1‘, port: 3306; Postman error
2022-06-12 02:38:00 【Guguwai】
problem :
node ./app.js Later error reporting ; meanwhile ,postman Also reported wrong , The interface cannot be tested normally .

Problem solving :
1. open default.json.

2. And the port number port From the original 3306 It is amended as follows 3308( because 3306 It's already occupied ), preservation .
ps:dbconfig Class is responsible for configuring database access information , Include : Server address 、 port 、 Database instance name 、 user name 、 User password 、 Character set, etc. .

3. stay app.js In the directory ( That is to say vue_api_server) Next cmd, And again node ./app.js( So that api The interface project runs ), Successfully connected to the database . And now postman You can also send requests and return results .

边栏推荐
- Pydub MP3 to WAV
- The four pain points of enterprise digitalization are solved by low code platform
- Function templatesfunction templates
- DbNull if statement - DbNull if statement
- 力扣解法汇总427-建立四叉树
- [digital signal processing] correlation function (energy signal | cross correlation function of energy signal | autocorrelation function of energy signal)
- The force deduction solution summarizes the shortest distance of 821 characters
- Force deduction solution summary 462- minimum number of moves to make array elements equal II
- Summary of force deduction solution 436- finding the right interval
- Force deduction solution summary 713- subarray with product less than k
猜你喜欢

How to use DAO to build a knowledge database with collective wisdom and sustainable incentive mechanism

Acl2022 | DCSR: a sentence aware contrastive learning method for open domain paragraph retrieval

errno: -4078, code: ‘ECONNREFUSED‘, syscall: ‘connect‘, address: ‘127.0.0.1‘, port: 3306;postman报错

Ue4\ue5 touch screen touch event: single finger and double finger

About 100 to realize the query table? Really? Let's experience the charm of amiya.

Query the duplicate values of multiple fields in the database, output the number, and add them.

DDD的分层架构

Intel case

Maya foreground rendering plug-in Mel scripting tool

WPS表格 学习笔记 - 高亮显示重复值
随机推荐
The market value has exceeded $3trillion. Why should apple, which has been criticized as a loser, rise again and again?
力扣解法汇总883-三维形体投影面积
Selection (043) - which of the following values are false?
力扣解法汇总944-删列造序
Force deduction solution summary -04.06 Successor
Graduation design of fire hydrant monitoring system --- thesis (add the most comprehensive hardware circuit design - > driver design - > Alibaba cloud Internet of things construction - > Android App D
I2C protocol overview
Start ticwatch2
Unscrambling 2021 of service grid: bid farewell to the "great leap forward" of architecture, and a hundred schools of thought contend for the technological ecology
力扣解法汇总386-字典序排数
Force deduction solution summary 497 random points in non overlapping rectangles
Force deduction solution summary 713- subarray with product less than k
1 minute to understand the essential difference between low code and zero code
Force deduction solution summary 675- cutting trees for golf competition
Start stop script and distribution script of shell
DDD的分层架构
The program actively carries out telephone short message alarm, and customizes telephone, short message and nail alarm notifications
[digital signal processing] correlation function (energy signal | cross correlation function of energy signal | autocorrelation function of energy signal)
No writing, please forgive me
力扣解法汇总699-掉落的方块