nodejs:mysql
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
nodejs:mysql [2024/07/15 00:43] – created kirtisingh | nodejs:mysql [2024/07/15 06:36] (current) – kirtisingh | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ===Accessing MySQL server on your N99panel VPS=== | + | ===Accessing MySQL server on your N99panel VPS via NodeJS=== |
- | Content to be added | + | **Step 1 :** Enable remote access for MySQL server using the documentation at [[: |
+ | **Step 2 :** Refer to steps 4 and 5 of the above mentioned documentation, | ||
+ | |||
+ | < | ||
+ | 172.16.26.% | ||
+ | </ | ||
+ | |||
+ | **Step 3 :** In your NodeJS codebase or in the concerned .env file, use the value **172.16.26.1** as the DB Host | ||
+ | |||
+ | Using the above steps, your NodeJS App should be able to access MySQL server on the N99panel VPS. |
nodejs/mysql.1721004225.txt.gz · Last modified: 2024/07/15 00:43 by kirtisingh