16 days ago
I created the custom domain. I use the custom domain and the one originally given as host, and I use "root" as user with the password given by the system and without the password. And I use 3306 as the port... no matter what I do I cannot connect to the database.
I need to import my data into the database obviously to get a laravel installation up and running. I would have thought this would be way more straight forward.
All it does is spin for ever like it's trying then throws this:
Unable to connect to host mysql-production-MY_CUSTOM_DOMAIN_GENERATED.up.railway.app, or the request timed out.
Be sure that the address is correct and that you have the necessary privileges, or try increasing the connection timeout (currently 10 seconds).
MySQL said: Can't connect to MySQL server on 'mysql-production-MY_CUSTOM_DOMAIN_GENERATED.up.railway.app:3306' (60)
2 Replies
16 days ago
Okay, somehow magically I found something that said "connect" on the right side of the database tab in the service area. Then one of those opens had a clickable "open" button... and that opened Sequel Ace on my machine for me and got me logged in. But entering each individual value in the input windows in the sequel ace woudl never work. Not sure why not?
jimnayzium
Okay, somehow magically I found something that said "connect" on the right side of the database tab in the service area. Then one of those opens had a clickable "open" button... and that opened Sequel Ace on my machine for me and got me logged in. But entering each individual value in the input windows in the sequel ace woudl never work. Not sure why not?
16 days ago
You need to use the TCP proxy to connect to your database instance. You shouldn't be using the generated domain.