V
V
Vlad M2020-05-01 12:34:14
CMS
Vlad M, 2020-05-01 12:34:14

Error installing newscoop?

the server is prepared and configured:
5eabead1077f6020306214.png
but when entering all the data and clicking the Next button on this page
5eabec48efbff329002933.png
, an error appears:

PDOException: SQLSTATE[HY000] [2002] Connection refused

1. in /var/www/user/data/www/example.com/newscoop /vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php line 40
2. at PDO->__construct('mysql:host=example.com;port=3306;dbname=newscoop;charset=utf8;' , 'user', 'password', array()) in /var/www/user/data/www/example.com/newscoop/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php line 40
3. at PDOConnection->__construct('mysql:host=example.com;port=3306;dbname=newscoop;charset=utf8;', 'user', 'password', array()) in /var/www/user /data/www/example.com/newscoop/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOMySql/Driver.php line 41
4. at Driver->connect(array('driver' => 'pdo_mysql' , 'dbname' => 'newscoop', 'host' => 'example.com', 'user' => 'user', 'password' => 'password', 'port' => '3306', 'charset ' => 'utf8'), 'user', 'password', array()) in /var/www/user/data/www/example.com/newscoop/vendor/doctrine/dbal/lib/Doctrine/DBAL/ Connection.php line 356
5. at Connection->connect() in /var/www/user/data/www/example.com/newscoop/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php line 680
6. at Connection->executeQuery('SHOW TABLES', array(), array()) in /var/www/user/data/www/example.com/newscoop/vendor/doctrine/dbal/lib/Doctrine/DBAL /Connection.php line 630
7. at Connection->fetchAll('SHOW TABLES', array()) in /var/www/user/data/www/example.com/newscoop/install/index.php line 252
8. at {closure}(object(Request))
9. at call_user_func_array(object(Closure), array(object(Request))) in /var/www/user/data/www/example.com/newscoop/vendor/symfony/ symfony/src/Symfony/Component/HttpKernel/HttpKernel.php line 145
10. at HttpKernel->handleRaw(object(Request), '1') in /var/www/user/data/www/example.com/newscoop/ vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php line 66
11. at HttpKernel->handle(object(Request), '1', true) in /var/www/user/data/www/example.com/newscoop/vendor/silex/silex/src/Silex/Application.php line 547
12. at Application->handle(object(Request)) in /var/www/user/data/www/example.com/newscoop/vendor/silex/silex/src/Silex/Application.php line 524
13. at Application->run() in /var/www/user/data/www/example.com/newscoop/install/index.php line 354

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey, 2020-05-01
@Vlad__M

Yes, a mistake. Does the Connection refused text mean anything?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question