R
Railway•8mo ago
debby

mysql

I have created a MySQL table. How to edit the value length? Because i didn't see any button or menu to do edit. Please help, TIA
56 Replies
Percy
Percy•8mo ago
Project ID: N/A
debby
debby•8mo ago
N/A
Brody
Brody•8mo ago
for this kind of thing i recommend dbgate
debby
debby•8mo ago
hi Brody, what is that? I'm new to this thing
Brody
Brody•8mo ago
a database client, have a look at their website - https://dbgate.org/
debby
debby•8mo ago
okay, will look for it. thank you! do you mind if I contact you if I have any question?
Brody
Brody•8mo ago
for railway questions, of course
debby
debby•8mo ago
[Solved] @Brody i want to link an Id as a foreign key from another table. How to set it? I just see is primary key in DbGate table setup I found it!
Brody
Brody•8mo ago
happy you found it, but thats not quite a railway question
debby
debby•8mo ago
I test the connection to my Android app, it keeps return 500. i have set the variable in .env same as railway variable. i don't know what's wrong
No description
Brody
Brody•8mo ago
what environment variables are you using in code for your mysql credentials?
debby
debby•8mo ago
i put railway variables in .env
No description
Brody
Brody•8mo ago
do you get this error when making a post request to your app running on railway?
debby
debby•8mo ago
yes, get the same error.. if connection successful it should be displaying user's data
No description
Brody
Brody•8mo ago
have you added the database credentials to your service variables? https://docs.railway.app/guides/variables#service-variables yeah, you haven't set any service variables click the banner and let it auto complete the variables for you if done right you shouldn't be copy pasting anything
Want results from more Discord servers?
Add your server