Git Product home page Git Product logo

Comments (8)

zball avatar zball commented on June 1, 2024 1

from cli can you: "mysql -u root -p" and get a mysql terminal?

from fosrest-user-oauth-skeleton.

lenerdz avatar lenerdz commented on June 1, 2024 1

thanks, zball... MySQL port was different :3

from fosrest-user-oauth-skeleton.

njr03304 avatar njr03304 commented on June 1, 2024

from fosrest-user-oauth-skeleton.

lenerdz avatar lenerdz commented on June 1, 2024

I changed some configurations and the error message changed.
Now it says:

19:27:08 ERROR [console] Error thrown while running command "doctrine:database:create". Message: "An exception occured in driver: SQLSTATE[HY000] [2002] Nenhuma conexo pde ser feita porque a mquina de destino as recusou ativamente.
" ["error" => Doctrine\DBAL\Exception\ConnectionException {trace: { …} …},"command" => "doctrine:database:create","message" => b"An exception occured in driver: SQLSTATE[HY000] [2002] Nenhuma conexão pôde ser feita porque a máquina de destino as recusou ativamente.\r\n"] []
19:27:08 ERROR [console] Command "doctrine:database:create" exited with code "1" ["command" => "doctrine:database:create","code" => 1] []

[Doctrine\DBAL\Exception\ConnectionException]
An exception occured in driver: SQLSTATE[HY000] [2002] Nenhuma conexo pde ser feita porque a mquina de destino a
s recusou ativamente.

[Doctrine\DBAL\Driver\PDOException]
SQLSTATE[HY000] [2002] Nenhuma conexo pde ser feita porque a mquina de destino as recusou ativamente.

[PDOException]
SQLSTATE[HY000] [2002] Nenhuma conexo pde ser feita porque a mquina de destino as recusou ativamente.

doctrine:database:create [--shard SHARD] [--connection [CONNECTION]] [--if-not-exists] [-h|--help] [-q|--quiet] [-v|vv|vvv|--verbose] [-V|--version] [--ansi] [--no-ansi] [-n|--no-interaction] [-e|--env ENV] [--no-debug] [--]

"Nenhuma conexo pde ser feita porque a mquina de destino as recusou ativamente." basically stands for "Connection Refused"

from fosrest-user-oauth-skeleton.

zball avatar zball commented on June 1, 2024

try running- php bin/symfony_requirments it should show you all your missing for your environment

from fosrest-user-oauth-skeleton.

zball avatar zball commented on June 1, 2024

connection refused may also be because you dont have your parameters set properly in app/consifg/paramters.ini. Make sure your mysql params are correct.

from fosrest-user-oauth-skeleton.

lenerdz avatar lenerdz commented on June 1, 2024

Symfony Requirements Checker


> PHP is using the following php.ini file:
  C:\php\php.ini

> Checking Symfony requirements:
  ...........................WWW......


 [OK]
 Your system is ready to run Symfony projects


Optional recommendations to improve your setup
  • intl extension should be available

    Install and enable the intl extension (used for validators).

  • a PHP accelerator should be installed

    Install and/or enable a PHP accelerator (highly recommended).

  • realpath_cache_size should be at least 5M in php.ini

    Setting "realpath_cache_size" to e.g. "5242880" or "5M" in
    php.ini* may improve performance on Windows significantly in some
    cases.

Note The command console could use a different php.ini file

      safe side, please check the requirements from your web
      server using the web/config.php script.

from fosrest-user-oauth-skeleton.

lenerdz avatar lenerdz commented on June 1, 2024

the app/config/parameters.ini:

This file is auto-generated during the composer install

parameters:
database_host: 127.0.0.1
database_port: null
database_name: symfony
database_user: root
database_password: null
mailer_transport: smtp
mailer_host: 127.0.0.1
mailer_user: youruser
mailer_password: null
secret: ThisTokenIsNotSoSecretChangeIt

from fosrest-user-oauth-skeleton.

Related Issues (5)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.