Ticket #5 (closed defect: fixed)

Opened 5 years ago

Last modified 3 years ago

mysql passwords containing $ aren't working

Reported by: NilsLindenberg Owned by: unassigned
Priority: normal Milestone: 1.1.6.2
Component: installer Version: 1.1.6.0
Severity: minor Keywords: installer password database
Cc:

Description

from  http://wikka.jsnx.com/WikkaBugs:

The installation succeed but the wiki doesn't work(connection pb if the db password contains one or more dollars symbols '$'. The error occur at the creation of the wakka object : "The wiki is currently unavailable. Error : Unable to connect to the Mysql database"

Did you tried to escape them? For example "john$doe" replaced by "john\$doe". AFAIK, it isn't a wikka bug but a php engine's side effect. All string beginning with $ are considered as variables and are interpreted as is. -- Piv Wan

Solution is to simply use single quotes instead of double quotes so $ is not interpreted as the start of a variable name; involves some changes in the installer. Will likely appear in 1.1.6.1 --Java Woman

Change History

Changed 5 years ago by dartar

  • owner changed from dartar to unassigned

Changed 5 years ago by NilsLindenberg

  • component changed from architecture to installer

Changed 5 years ago by dartar

  • milestone changed from 1.1.6.1 to 1.1.6.2

Changed 4 years ago by DarTar

Mahefa - does [82] fix this issue?

Changed 4 years ago by DotMG

  • status changed from new to closed
  • resolution set to fixed

Fixed in [82]. Sorry for the late. No connexion after submitting code.

Changed 3 years ago by JavaWoman

  • status changed from reopened to closed
  • resolution set to fixed

Seems to have been reopened by spam removal; closing again...

Note: See TracTickets for help on using tickets.