beego / bee

Bee is a tool for helping develop with beego app framework.
Apache License 2.0
1.44k stars 920 forks source link

Using the generate appcode command of beego, the server address is used for database connection. After the command is executed, it is changed back to the default 127 address. What's the matter? #761

Open ehomecd opened 3 years ago

ehomecd commented 3 years ago

Using the generate appcode command of beego, the server address is used for database connection. After the command is executed, it is changed back to the default 127 address. What's the matter?

flycash commented 3 years ago

I try bee generate appcode -driver=mysql -conn="root@xxx" and it works well, Could you remove hbapi and try again?