MySQL remote connection fails with “unknown authentication method”

前端 未结 7 1037
名媛妹妹
名媛妹妹 2020-11-28 15:22

I am trying to remotely connect to MySQL server online from my local machine, but I am getting the following error:

Warning: PDO::__construct(): The server r         


        
7条回答
  •  有刺的猬
    2020-11-28 15:51

    I got this problem when running bitbucket pipelines with laravel 5.6 and default mysql database (set is services:).

    solution was to use older version of mysql

    definitions:
      services:
        mysql:
         image: mysql:5.6
    

    PS: it was PHP 7.1

提交回复
热议问题