We cannot create 5.7 or 8 databases
anjovi4
HOBBYOP

a year 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

a year 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 about 1 year 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

a year 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 about 1 year ago


unicodeveloper
PRO

a year 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 about 1 year 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

a year 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 about 1 year ago


a year 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 about 1 year ago


Status changed to Solved brody about 1 year ago


Loading...