cant connect opencart to mySQL database

前端 未结 1 1754
不知归路
不知归路 2021-01-24 18:18

I\'m trying to set up opencart for my website, but when I fill in everything for the MySQL database I get this error:

No connection could be made because the tar         


        
相关标签:
1条回答
  • 2021-01-24 18:51

    My guess is that your DB user is only allowed to access the DB server from 127.0.0.1. You might want to grant additional privileges to it and in your SQL shell run something like

    GRANT ALL PRIVILEGES ON *.* To 'your-db-user'@'192.168.1.125'
    
    0 讨论(0)
提交回复
热议问题