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)
- 🔦 Feature: update supported infra versions in official documents
- 🐛 Bug: bug with column edit when working with multi select field
- Where should I modify the sorting data query logic in order to customize the sorting functionality? HOT 1
- 🐛 Bug: datetime copy paste bug
- 🐛 Bug: Unable to add new record to linked table by "add new link" HOT 2
- 🐛 Bug: Export CSV is missing the id or primary keys (cloud) HOT 2
- 🐛 Bug: Enter foreign key via number HOT 2
- 🐛 Bug: app.nocodb.com API limiting to 100 rows even when limit set higher HOT 4
- 🐛 Bug: Docs update for Form new design
- 🐛 Bug: Knex: Timeout acquiring a connection. The pool is probably full. Are you missing a .transacting(trx) call? After upgrade to 0.204.1 (and .2) HOT 27
- 🐛 Bug: meta db tables are not listed after connecting to external data source
- 🐛 Bug: If you remove a user from a base, you can't easily re-add them
- 🐛 Bug: shuffle broken in 0.204.3
- 🐛 Bug: shared survey form UI needs fix if form description is lengthy
- 🐛 Bug: Long text wrap; show full word in first line if possible & then suffix ... HOT 1
- 🐛 Bug: external data source (PostgreSQL) not editable after creation HOT 4
- 🔦 Feature: Auto-update `created_by` and `updated_by` columns on insertion/update for externally created tables HOT 2
- 🐛 Bug: Public form appears system field
- 🐛 Bug: Handle forbidden column reordering more gracefully
- 🐛 Bug: Incomplete rows in tables from external data source are silently dropped
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.