Acess denied for user (mysql and flask)

后端 未结 0 1813
暖寄归人
暖寄归人 2021-02-08 21:11

I am trying to connect to MySQL database in Flask as follows:

mysql = MySQL()
app.config[\'MYSQL_HOST\'] = \'localhost\'
app.config[\'MYSQL_USER\'] = \'root\'
app         


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