Skip to content

Problem when the password of the database ends with '.' #2502

Open
@ljarevalo

Description

@ljarevalo

Description of the problem

I want to inform you that there is a bug, I think, with the domserver installation. I have been searching for a week and I have not found any reference to it anywhere. In my case, I set the MySQL password that ends with the character '.' and the problem lies in the fact that when executing dj_setup_database, this character is treated as string concatenation, and consequently, the password doesn't work. I've solved the problem by changing the password.

Your environment

DOMjudge version (e.g. 8.3.2)
Operating system / Linux distribution and version (e.g. Ubuntu 22.04 and Debian 12)
Webserver (e.g. Apache)

Steps to reproduce

When the database passworkd ends with '.' and the command dj_setupdatabase is run: sudo bin/dj_setup_database -u root -r install, it doesn´t work since it is concatenated with more informatiion

sudo bin/dj_setup_database -u root -r install

Doctrine\DBAL\DBALException: "Malformed parameter "url".

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions