Override connection string

Stimulsoft Reports.PHP discussion
Post Reply
Asawyer13
Posts: 24
Joined: Fri Aug 23, 2019 12:16 am

Override connection string

Post by Asawyer13 »

How can I override the database connection string at runtime? I assume there is some way using the generated index.php but I can't figure out how to do it.

I really just need to change the database name, but would be nice to be able to change the server, username and password also.

Thanks
Alan
Asawyer13
Posts: 24
Joined: Fri Aug 23, 2019 12:16 am

Re: Override connection string

Post by Asawyer13 »

I figured it out. I had a typo.
Max Shamanov
Posts: 975
Joined: Tue Sep 07, 2021 10:11 am

Re: Override connection string

Post by Max Shamanov »

Hello,

Ok.
Let us know if you need our help.

Thank you.
Post Reply