Feature #14177
closed
No special chars for database password
Added by Marcel Gmür about 20 years ago.
Updated almost 18 years ago.
Description
You can't specifi password with special chars over the install tool.
Workaround:
Use dummy password and change it later in localconf.php directly.
(issue imported from #M111)
The current condition that the password has to match is this: [^[:alnum:]_\.-]
which means that the password can contain these characters:
a-z
A-Z
0-9
_
-
.
Which character was it you tried to use?
Do you have a suggestion for a better condition than [^[:alnum:]_\.-]?
Perhaps we shouldn't validate the password characters at all?
I was looking at www.mysql.org, but didn't find a note which characters are allowed.
I like to use at least one special character, upper- and lowercase and numbers.
Special characters for passwords are every char on my keyboard (de_CH) which you can type:
°+"*ç%&/()=?`§¦@#¬|¢´~'^}{][£
Do you now a problem for using one of these?
bearbeitet am: 21.05.04 09:27
At least in 3.5.0 the password could not contain a period ( . ) when using the install tool, however you could enter it directly in typo3conf.
So it was just an install tool problem, not a mysql issue.
I don't know whether the db password handling did change in 3.6.x
I think you should also expand the regexp's for checking the
username and the databasename in the Install Tool.
e.g. database- and user-names containing the - (dash character)
don't work properly.
I have just fixed this for 3.7, please test it in the RC.
Also available in: Atom
PDF