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

运行php ./swoole_server.php 出错 #450

Open
sfdota opened this issue Jan 16, 2023 · 0 comments
Open

运行php ./swoole_server.php 出错 #450

sfdota opened this issue Jan 16, 2023 · 0 comments

Comments

@sfdota
Copy link

sfdota commented Jan 16, 2023

这里输入对bug做出清晰简洁的描述.

重现步骤
Uncaught PDOException: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: NO) in /var/www/masterlab/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:39
Stack trace:
#0 /var/www/masterlab/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php(39): PDO->__construct()
#1 /var/www/masterlab/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOMySql/Driver.php(25): Doctrine\DBAL\Driver\PDOConnection->__construct()
#2 /var/www/masterlab/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(398): Doctrine\DBAL\Driver\PDOMySql\Driver->connect()
#3 /var/www/masterlab/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(1938): Doctrine\DBAL\Connection->connect()
#4 /var/www/masterlab/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(1557): Doctrine\DBAL\Connection->getWrappedConnection()
#5 /var/www/masterlab/app/model/DbModel.php(206): Doctrine\DBAL\Connection->exec()
#6 /var/www/masterlab/app/model/DbModel.php(153): main\app\model\DbModel->connect()

期望结果
简洁清晰的描述期望结果

实际结果
简述实际看到的结果,这里可以配上截图

附加说明
附加或额外的信息

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