We cannot create 5.7 or 8 databases
anjovi4
HOBBYOP

9 months ago

Due to legacy system review issues, we need to create databases in 5.7 and 8, but it only allows us to create them in the latest version of Mysql (9). We have tried and the containers do not restart when the image source is changed to 5.7 or 8, after having been created with version 9.

If you can give us information on the process to create databases in 5.7 or 8 in your service, thank you very much.

Solved

5 Replies

unicodeveloper
PRO

9 months ago

For you to do that, you will need to deploy your own standalone MySQL service.

  • Create a service

  • Add a MySQL docker image and specify the correct tag for the version you want.

  • Deploy


Status changed to Awaiting User Response Railway 10 months ago


unicodeveloper

For you to do that, you will need to deploy your own standalone MySQL service.Create a serviceAdd a MySQL docker image and specify the correct tag for the version you want.Deploy

anjovi4
HOBBYOP

9 months ago

Thanks for the reply unicodeveloper.

Do you know of any documentation or tutorial to do what you are saying?

Sorry, we are relatively new to using Railway.


Status changed to Awaiting Railway Response Railway 10 months ago


unicodeveloper
PRO

9 months ago

It's pretty straightforward. https://docs.railway.com/guides/services#creating-a-service

Instead of connecting a repo, you will connect an image. Put the mysql image and specify the tag


Status changed to Awaiting User Response Railway 10 months ago


unicodeveloper

It's pretty straightforward. https://docs.railway.com/guides/services#creating-a-serviceInstead of connecting a repo, you will connect an image. Put the mysql image and specify the tag

anjovi4
HOBBYOP

9 months ago

Thank you unicodesarrollador for the reply.

We have proceeded as you indicated. The container with mysql:5.7.44 has started but the log shows errors. In addition, we do not have information about the connection variables. Thank you for your support and patience.


Status changed to Awaiting Railway Response Railway 10 months ago


brody
EMPLOYEE

9 months ago

Hello,

I have created MySQL 5.7 and MySQL 8 databases in your project, feel free to keep or delete whatever one.

Best,
Brody


Status changed to Awaiting User Response Railway 10 months ago


Status changed to Solved brody 10 months ago


Loading...