XGProyect / XG-Proyect-v3.x.x

XG Proyect is an OGame clone open-source web application framework designed for creating game clones, particularly those inspired by the popular game OGame, set in a vast and captivating space-themed universe.
https://xgproyect.org
GNU General Public License v3.0
143 stars 97 forks source link

Cannot connect after docker install #573

Open TheCarpetMerchant opened 10 months ago

TheCarpetMerchant commented 10 months ago

Describe the bug Going into the install tab and trying to connect to the xgp db doesn't work. The php error is "Cannot asign requested address" when specifying the port, and "No such file or directory" without, both at Core/Database.php line 77.

To Reproduce Steps to reproduce the behavior:

  1. git clone
  2. docker-compose up
  3. localhost:80 in a web browser
  4. Enter the informations localhost:33060, root, root, xgp.
  5. Connection doesn't work.

Trying with localhost:3306 leads to the same problem. phpmyadmin and mysql workbench can both connect to the server perfectly fine.

Desktop (please complete the following information):

TheCarpetMerchant commented 10 months ago

This was it https://github.com/XGProyect/XG-Proyect-v3.x.x/issues/427#issuecomment-727962211