Check out the LimeSurvey source code on GitHub!

Database Port - $databaselocation

More
5 years 4 weeks ago #72810 by spessex
Hi

I've looked everywhere and cannot seem to find anything on this.

Basically my database sits on port 3307. How do I tell Lime Survey this in the config.php file?

At the moment I'm considering the following:

$databaselocation = 'localhost:3307/(folder_location_address)';

Am I on the right lines here or there a hidden variable for port location?

Thank you

Stephen

Please Log in to join the conversation.

More
5 years 4 weeks ago #72812 by DenisChenu
Hello,

No hidden , all variable is in config-defaults.php.

ANd this one is
[code type=php-brief]$databaseport = 'default'; // The port of your Database - if you use a standard port leave on default[/code]

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).

Please Log in to join the conversation.

More
5 years 4 weeks ago #72815 by spessex
Thanks so much for this. I hadn't realised that this file existed and was editing the config.php file.

Out of interest should I need to change anything else in this config-defaults.php file only I didn't notice this in the instructions?

Thank you

Stephen

Please Log in to join the conversation.

More
5 years 4 weeks ago #72816 by spessex
Sorry guys just seen

docs.limesurvey.org/Optional+settings&st...tions+for+LimeSurvey

Don't know how I missed this!

Please Log in to join the conversation.

More
5 years 4 weeks ago #72843 by Mazi
You're welcome!


Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)survey-consulting.com'"

Please Log in to join the conversation.

More
5 years 3 weeks ago #72934 by DenisChenu

spessex wrote: Out of interest should I need to change anything else in this config-defaults.php file only I didn't notice this in the instructions?

NEVER change config-default file,

Config-default include config at the end, then the configuration are keep at the update. And new config functionnality are in config-default :).

It's more an 'all config option' possible.

Denis

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).

Please Log in to join the conversation.

Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form