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
Project ID:
N/A
N/A
for this kind of thing i recommend dbgate
hi Brody, what is that? I'm new to this thing
a database client, have a look at their website - https://dbgate.org/
okay, will look for it. thank you! do you mind if I contact you if I have any question?
for railway questions, of course
[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!happy you found it, but thats not quite a railway question
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](https://cdn.answeroverflow.com/1200268325255659560/image.png)
what environment variables are you using in code for your mysql credentials?
i put railway variables in .env
![No description](https://cdn.answeroverflow.com/1200268919026495579/image.png)
do you get this error when making a post request to your app running on railway?
yes, get the same error.. if connection successful it should be displaying user's data
![No description](https://cdn.answeroverflow.com/1200269842796785734/image.png)
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