phpjasper icon indicating copy to clipboard operation
phpjasper copied to clipboard

Password with special characters issue

Open montanhes opened this issue 4 years ago • 1 comments

Describe the bug In my case the issue was happening because the password that I was using has special characters and I think it could be and issue for most of the users. I could solve it just by changing my MySQL password.

To Reproduce Steps to reproduce the behavior:

  1. just add a password with special characters like: )

Expected behavior It will display the message: "Your report has an error and couldn 't be processed!\ Try to output the command using the function output(); and run it manually in the console."

Desktop (please complete the following information):

  • OS: Linux
  • Browser Firefox

montanhes avatar Nov 04 '21 14:11 montanhes

Hi!

I've had the same issue, it's caused by escape character "&" in my DB password.

To solve it, I put double quote " in "password" params like in the example bellow:

$options = [ 
		'db_connection' => [
            'password' => '"%aN1ma@klap&6a@iWYgGf$)89!"'
			]
];

it worked for me

Whendryo avatar Jan 24 '22 00:01 Whendryo