Add the port number when configuring the server file
// Create the connection of database
const mysql=require('mysql')
const db=mysql.createPool({
host:'127.0.0.1',
port:'3307',
user:'root',
password:'admin123',
database:'my_db'
})
module.exports=db
When creating a table, check the ID and increment options
Read More:
- [Solved] Flink jdbc Error: Access Denied for user ‘root‘@‘10.0.0.x‘ (using password: YES)
- SourceTree Git Error: remote: HTTP Basic: Access denied fatal: Authentication failed
- [Solved] Springboot WARNING: All illegal access operations will be denied in a future release
- Mysql5.7.18.1 Error 1054 (42S22): Unknown Column’password’ In’field List’ When Changing User Password
- [AWS] Solve Error: An error occurred (AccessDenied) when calling the CreateMultipartUpload operation: Access Denied
- [Solved] Nginx Request 500 Error: CreateFile() “/temp/client_body_temp/0000000013” failed (5: Access is denied)
- [Solved] win32diskimager Error: An error occured when attempting to XXX, Error 5: Access is Denied
- [Solved] error: password authentication failed for user “postgres”
- Springboot configuration project access path URL root path
- [Solved] Vscode Connect to the remote server error: permission denied (public key)
- [Solved] Gerrit Error: Permission denied publickey
- Flask Startup Error: s.bind(server_address)PermissionError: [Errno 13] Permission denied
- How to Solve elasticsearch root user start Error
- How to Solve Error: cannot open .Git/fetch_HEAD: Permission denied
- [Solved] failed (13: Permission denied) while reading upstream
- socket java.net.BindException: bind failed: EACCES (Permission denied)
- [Solved] error when starting dev server:Error: listen EACCES: permission denied 0.0.0.0:80 at Server.set
- ERROR: Permission to .git denied to. [How to Solve]
- [Solved] Laravel Create Data Table Error: Syntax error or access violation: 1071 Specified key was too long
- Run-time error “70“:Permission denied [How to Solve]