Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mysql 8.0 连接数据库问题 #8

Closed
sangyuxiaowu opened this issue Sep 26, 2018 · 1 comment
Closed

Mysql 8.0 连接数据库问题 #8

sangyuxiaowu opened this issue Sep 26, 2018 · 1 comment

Comments

@sangyuxiaowu
Copy link

PHP version:7.2.10
Mysql 8.0
windows 10

这个环境下,想在 Events.php 写数据库,在start_businessworker.php 实例化db,然后就是各种报错啊,一把辛酸泪
PDOException: PDO::__construct(): Unexpected server respose while doing caching_sha2 auth:
PDOException: PDO::__construct(): PHP was built without openssl extension, can't send password encrypted in
Next PDOException: SQLSTATE[HY000] [2006] MySQL server has gone away in

黑人问号????

@sangyuxiaowu
Copy link
Author

行的吧,换5.7好了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant