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

Error conectarse a la BDD del servidor #329

Open
TomasFouyet opened this issue Jun 23, 2022 · 1 comment
Open

Error conectarse a la BDD del servidor #329

TomasFouyet opened this issue Jun 23, 2022 · 1 comment

Comments

@TomasFouyet
Copy link

TomasFouyet commented Jun 23, 2022

Hola, tengo un error al momento de conectarme con la BDD de uno de los grupos.

No se pudo conectar a la base de datos: PDOException: SQLSTATE[08006] [7] connection to server at "localhost" (127.0.0.1), port 5433 failed: Connection refused Is the server running on that host and accepting TCP/IP connections? in /home/grupo41/Sites/config/conection.php:12 Stack trace: #0 /home/grupo41/Sites/config/conection.php(12): PDO->__construct() #1 /home/grupo41/Sites/funcionalidades/importar_usuarios.php(2): require('/home/grupo41/S...') #2 {main}
Notice: Undefined variable: db_41 in /home/grupo41/Sites/funcionalidades/importar_usuarios.php on line 7

Fatal error: Uncaught Error: Call to a member function prepare() on null in /home/grupo41/Sites/funcionalidades/importar_usuarios.php:7 Stack trace: #0 {main} thrown in /home/grupo41/Sites/funcionalidades/importar_usuarios.php on line 7

Tengo los archivos de conection.php y data.php bien hechos, y luego en la vista tambien estoy utilizando el require para acceder a la BDD, aun asi nos salta este error.

@arpincheira
Copy link
Contributor

Sigue su problema?

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

2 participants