R
Railway•15mo ago
asiya1330

Hello Everyone! I am facing some problem related to deploying my nodejs application.

I have deployed my nodejs application using github, but do not know how can I connect phpmyadmin so that data is store in DB. Any help is appreciated. 🙂
7 Replies
Percy
Percy•15mo ago
Project ID: fa35992e-ea36-4e39-9a77-6129bdf3f1cb
asiya1330
asiya1330•15mo ago
fa35992e-ea36-4e39-9a77-6129bdf3f1cb/service/459c7c83-7ee8-43e4-a4f4-5c2b59878998
Adam
Adam•15mo ago
On Railway, databases should be external to your process service. You can add a database in your project page
asiya1330
asiya1330•15mo ago
Hi. Adam I am on project page but could not see, adding database option. Is is possible to create phpmyadmin and then give that credentials in my app. So that DB can be accessed in production.
Adam
Adam•15mo ago
No. If your db is a part of your main service, it will be wiped every time you deploy a new version of your app. To keep your data safe, create your database in a separate service in the same project This is correct, but doesn’t apply here. My mistake ssh access isn’t possible. You will have to configure phpmyadmin before uploading your app
ThallesComH
ThallesComH•15mo ago
railway doesn't offer phpmyadmin instance btw. if you want to access your db to explore, you can use an external tool, for example Beekeeper Studio
Brody
Brody•15mo ago
use railways mysql database plugin with mysql workbench on your computer instead of phpmyadmin
Want results from more Discord servers?
Add your server