Can't connect my sql, Database connection is waiting and waiting
flexcoding
PROOP

a year ago

Can't connect my sql, Database connection is waiting and waiting

Solved

8 Replies

flexcoding
PROOP

a year ago

Any updates???


Please elaborate on how the database connection is waiting. Where are you trying to connect to the database from?


Status changed to Awaiting User Response Railway about 1 year ago


flexcoding
PROOP

a year ago

When I first attempted to connect, no connection was established.

  • The connection from the IDE didn’t work.

  • The connection from the code didn’t work.

  • The connection within your system also failed (see attached image).

Now, I can retrieve data from the IDE, but adding a new column is never complete (see attached image). Additionally, the connection within your system still seems to be non-functional (see attached image).


Status changed to Awaiting Railway Response Railway about 1 year ago


flexcoding
PROOP

a year ago

Update:

After waiting several minutes, the ADD COLUMN command finally completed.

What could be causing it to run so slowly?


flexcoding
PROOP

a year ago

Is there any update on the issue?

The database is still running very slowly. Adding a column to the DB takes several minutes.

Could you please provide assistance as soon as possible?


We are not experiencing performance issues that would explain what you're experiencing here.

Did you make any configuration changes to the database after you deployed it from the MySQL template?

If not, please try to redeploy the database following these steps:
https://docs.railway.com/guides/deployment-actions#redeploy


Status changed to Awaiting User Response Railway about 1 year ago


flexcoding
PROOP

a year ago

Thanks.

It seems to be solved.

Can you please explain?

Should I deploy the DB from time to time?


Status changed to Awaiting Railway Response Railway about 1 year ago


It shouldn't generally be necessary to redeploy the container. If you experience it becoming slow or unresponsive again, please let us know.


Status changed to Awaiting User Response Railway about 1 year ago


Railway
BOT

6 months ago

This thread has been marked as solved automatically due to a lack of recent activity. Please re-open this thread or create a new one if you require further assistance. Thank you!

Status changed to Solved Railway 6 months ago


Loading...