'Beego ORM MySQL: default addr for network '...' unknown
My database link is a domain name instead of an IP address, and I don't use the ip address. Below is my configuration.
orm.RegisterDataBase("default", "mysql", "root:root@*******.aliyuncs.com:3308/dbname?charset=utf8")
Error Message:
register db Ping
default, default addr for network '***.mysql.rds.aliyuncs.com:3308' unknown must have one register DataBase alias nameddefault
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
