Comments (4)
pm2 start --name "xmysql-api" xmysql -- -h localhost -u "" -p "" -d "" -n 5555
from nocodb.
I believe this issue is out of scope of this package. As suggested in stackoverflow - using some of packages (pm2 etc) - this problem could be solved.
@pengyuwei : please paste your solution when you have it working so that others could benefit.
from nocodb.
May be below link will help ?
https://stackoverflow.com/questions/4018154/how-do-i-run-a-node-js-app-as-a-background-service
Try and please let us know what helped.
from nocodb.
I followed the method of this article to create an /etc/systemd/system/en.service file
[Unit]
Description=en
[Service]
ExecStart="/usr/local/bin/xmysql -h 127.0.0.1 -u en -p password -d en"
Restart=always
User=nobody
Group=nogroup
Environment=PATH=/usr/bin:/usr/local/bin
Environment=NODE_ENV=production
WorkingDirectory=/var/www/en/
[Install]
WantedBy=multi-user.target
I got a syslog error:
Jan 6 18:28:16 iZ2zefhslbbsg5n4c65ooiZ systemd[6976]: en.service: Failed at step EXEC spawning /usr/local/bin/xmysql -h 127.0.0.1 -u en -p password -d en: No such file or directory
Jan 6 18:28:16 iZ2zefhslbbsg5n4c65ooiZ systemd[1]: en.service: Main process exited, code=exited, status=203/EXEC
but /usr/local/bin/xmysql is exist:
# /usr/local/bin/xmysql -h 127.0.0.1 -u en -p password -d en
Generating REST APIs at the speed of your thought..
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Database : en
Number of Tables : 1
REST APIs Generated : 19
Xmysql took : 0 seconds
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
from nocodb.
Related Issues (20)
- ๐ Bug: unable to use SQL SERVER integration due to DATE conversion errors
- ๐ฆ Feature: Include User Information in Webhook Response
- ๐ฆ Feature: Make NocoDB an OAuth Provider
- ๐ Bug: Translation issue - Members not found
- ๐ Bug: Logout causing error in GUI
- ๐ฆ Feature: Option to select row color
- ๐ Bug: Update base with `meta` data via API doesn't work
- ๐ฆ Feature: Automatic association links
- ๐ฆ Feature: Develop an Obsidian plug-in that allows ob data to be imported into nocodb
- ๐ Bug: Google Cloud Storage integration not allowing download objet
- ๐ฆ Feature: New Form (Landscape) Entry left to right rather than top to bottom
- ๐ Bug: Translation issue - Search members
- nocodbๅ็ซฏๆฅๅฃๆไนๅถไฝdocker้ๅ๏ผไฟฎๆนไบๅ็ซฏๆฅๅฃๆไนๅถไฝ่ชๅทฑ็docker้ๅ HOT 1
- ๐ Bug: NotFoundException: Cannot GET /dashboarddashboard/ HOT 2
- ๐ Bug: Pagination error in shared view
- 0.98.4็ๆฌๅถไฝ็docker้ๅไฝฟ็จ -e NC_DB="mysql2:// ๆ็คบError: Access denied for user 'test1'@'host.docker.internal' (using password: NO)
- nocodb/nocodb:0.98.4้ๅๆไนไฟฎๆนๆ้๏ผ่ฎฉๆฅ็่ ๅ ทๅคๆไบๆ้
- ๐ Bug: form description not getting saved on reload HOT 1
- ๐ Bug: Duplicate Base UI action results in Missing Views, Formulas, and External Data sources
- ๐ฆ Feature: Helmchart
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nocodb.