You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[BUG] MySQL/MariaDB Hostname is seemingly ignored completely. Error message shows it trying to connect to local internet hostname (selfhosted) or one of the whitelist IPs (cloud version). #3615
Illa seemingly disregards the MySQL/MariaDB hostname and instead attempts to connect to one of the whitelist IPs (cloud) or your local hostname (self-hosted) instead...
Steps to reproduce
Go to Resources
Click on Create New
Select either MySQL or MariaDB (Same behavior for both)
Add MySQL credentials, including hostname (preferably AWS RDS Instance Hostname, eg. xxxxxxxxxxxx.xxxxx.ap-southeast-1.rds.amazonaws.com
On the Illa Cloud version, you should see an error message such as: test resource connection error: Error 1045 (28000): Access denied for user 'root'@'146.190.0.234' (using password: YES) where 146.190.0.234 is, extremely confusingly, one of the IPs from the Allow IP addresses list.
On the self-hosted Illa version, you should see an error message such as: test resource connection error: Error 1045 (28000): Access denied for user 'root'@'123-123-123-12.my-local-hostname.com' (using password: YES) where 123-123-123-12.my-local-hostname.com is your local hostname.
It seems there are some big problems with how the MySQL and MariaDB resource connections are setup. Despite what you put in the Hostname box, it seems to completely disregard it and then it attempts to connect to a (non-existent) MySQL instance on one of the Illa cloud whitelist IPs, or your local hostname on the self-hosted version. Why it would behave in such a way is completely beyond me and is extremely confusing to say the least. I'm surprised there aren't more issues about this. Perhaps the Hostname box is only configured to work with IP addresses and the bug only occurs when using an actual hostname as opposed to an IP address for the MySQL host.