Skip to content

Conversation

@eldering
Copy link
Member

Recreate of #2660

@Kevinjil Kevinjil marked this pull request as draft November 27, 2025 21:18
@eldering eldering force-pushed the fix-mysql-password branch 13 times, most recently from ec57be3 to 0b9974e Compare November 28, 2025 19:16
See for reference:
- https://dev.mysql.com/doc/refman/8.0/en/connecting-using-uri-or-key-value-pairs.html#connecting-using-uri
- https://symfony.com/doc/current/doctrine.html
but note that we must use `rawurlencode` instead of `urlencode` which
differ in how they encode a space (as tested).

Fixes: #2651
Closes: #2502 as this is likely fixed but I couldn't reproduce it
Use URL encoding in DATABASE_URL and return mysql_options
as an array (via ugly global variable), so each element
in it can be separately added to the command line using
`@` for expansion.

Because of changing the script to bash, also reverts some
of the changes in 483200a.
@eldering eldering force-pushed the fix-mysql-password branch 2 times, most recently from d2cb027 to 33ddd88 Compare November 29, 2025 09:03
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

Successfully merging this pull request may close these issues.

2 participants