Skip to content

[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

@jontstaz

Description

@jontstaz

Description

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

  1. Go to Resources
  2. Click on Create New
  3. Select either MySQL or MariaDB (Same behavior for both)
  4. Add MySQL credentials, including hostname (preferably AWS RDS Instance Hostname, eg. xxxxxxxxxxxx.xxxxx.ap-southeast-1.rds.amazonaws.com
  5. 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.
  6. 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.

Version

cloud

ILLA Builder Version

4.18

Browser

Edge, Chrome, Firefox

Operating System

  • macOS
  • Windows
  • Linux

Additional Information

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions