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: Calendar view is broken in shared base UI
- ๐ Bug: ๅฝ่กจ็ๅ็งฐไธญๆ็นๆฎๅญ็ฌฆๆถไผๅบ้๏ผ
- ๐ Bug: Freezes after 0.205.0-20240419-1802
- ๐ฆ Feature: Line breaks in comments
- ๐ฆ Feature: dynamic line height for comment textarea
- ๐ Bug: No option to duplicate a table when in postgres datasource
- ๐ Bug: Incorrect sorting of Cyrillic data
- ๐ฆ Feature: Precise identification of the form field causing the "The data entered is too long for this field." error HOT 1
- ๐ ๏ธ Ops: Auto Upstall Script Enhancements
- ๐งช Test: Add Unit Tests for noco.sh
- ๐ ๏ธ Ops: Create Image for NocoDB in Cloud Matket Places HOT 2
- ๐ Bug: postgres float8 not recognized as a 'numeric' field. HOT 5
- ๐ Bug: Error occurs when copy to clipboard HOT 4
- ๐ฆ Feature: Define data type of formula result HOT 1
- ๐ฆ Feature: Support copy/paste of multiple cells HOT 2
- ๐ฆ Feature: Consistent keyboard navigation and editing across multiple field types HOT 1
- ๐ฆ Feature: Add Workspaces to self hosted versions HOT 1
- ๐ฆ Feature: support read-only and non-root docker containers HOT 3
- ๐ Bug: Installation using windows executable and postgres-db does not work
- ๐ Bug: PK not saving properly when adding row through UI
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.