This topic is locked
[SOLVED]

 Database connection properties in config.ini

6/12/2020 10:02:14 AM
PHPRunner General questions
A
aalekizoglou author

Is there a way I can place the database connection properties (host, username, password, port) into a config file so that I can change them according my server needs?

W
wpl 6/12/2020



Is there a way I can place the database connection properties (host, username, password, port) into a config file so that I can change them according my server needs?


Athanasios,
maybe you can use this as a starting point:
How to load database connection info from external file
Regards

A
aalekizoglou author 6/12/2020



Athanasios,
maybe you can use this as a starting point:
How to load database connection info from external file
Regards


Thanks for the quick reply. This works for me.