i have the problem in my database

Hello, I haven't touched anything, today I went to the server and I saw that it was not connecting to the database, and I saw that in my database hosted on railway, all the data I had has been deleted and the data has been changed. parameters to connect, as if it were a new database
8 Replies
Percy
Percy10mo ago
Project ID: N/A
juanjosebl2
juanjosebl2OP10mo ago
now I only have data in the database from months ago
No description
Bartek
Bartek10mo ago
Pretty sure you have to delete the MySQL and mysql data service (not the mysql legacy) then migrate again
juanjosebl2
juanjosebl2OP10mo ago
Ok hare that, but my data was in the mysql legacy and suddenly there is no more data
juanjosebl2
juanjosebl2OP10mo ago
It's okay like that?
No description
Bartek
Bartek10mo ago
Now connect to the new service the one that has mysql legacy data attached in your application
juanjosebl2
juanjosebl2OP10mo ago
Thanks now yes!, in the image it says mysql data mount, what does that refer to mounting the old data from my database? I would also like to know how to make backup copies for my database
Adam
Adam10mo ago
@Bartek please do not advise users to delete their data without checking that all is working first After migrating, you never changed your environment variables to connect to the new database. Please change your variables to reference variables and connect to the new, migrated database rather than the old database once we’ve verified that’s working, then you can delete your old database
Want results from more Discord servers?
Add your server