connect mysql return error 1045 when use .env file, but works using literal string

前端 未结 0 1617
小鲜肉
小鲜肉 2021-01-26 18:05

I\'m using, gorm mysql to connect to a remote database, I tried to put the connection string variable in .env file, and use them like this:



        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题