mysqlnd cannot connect to MySQL 4.1+ using the old insecure authentication

前端 未结 2 653
佛祖请我去吃肉
佛祖请我去吃肉 2021-01-25 07:23

I\'m having issues with connecting to MySQL 5.5.8 from PHP 5.3.5 (WAMP install). I\'m getting the error below:

mysqlnd cannot connect to MySQL 4.1+ using the old         


        
2条回答
  •  温柔的废话
    2021-01-25 08:20

    Figured it out! Was an oversight on my part. Apparently, in ZenCart there are 2 files where you have to set your database configuration. One is for the catalog and one for the admin area. Doesn't make a whole lot of sense to me since both of them connect to the same DB. Maybe it has something to do with being able to use one db user for the catalog and one for the admin for security reasons. I just setup a local copy and changed one of the config files without changing the other. The file causing the problems was still pointed at my production database. Knew it had to be something simple!

提交回复
热议问题