Check out the LimeSurvey source code on GitHub!

Update from 1.9 to 2.0

More
3 years 11 months ago - 3 years 11 months ago #93707 by DenisChenu
Hello,

Can you tell us what did you have in application/config/config.php after the installation.

Somethink like that :
'connectionString' => 'mysql:unix_socket=/var/run/mysqld/mysqld.sock;port=3306;dbname=limesurvey;',

Maybe a checkbox or a select with connection method can be a goos idea.

Denis
PS: don't need port for unix_socket:
'connectionString' => 'mysql:unix_socket=/var/run/mysqld/mysqld.sock;dbname=limesurvey;',
seem good enough.
Maybe fill a bug report / development patch

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).
Last Edit: 3 years 11 months ago by DenisChenu.

Please Log in to join the conversation.

More
3 years 11 months ago #93774 by DezB
Hi Denis

That sounds like a good idea, 1and1 are one of the largest hosts in the UK, Germany and across Europe so I guess there are many others such as me who are not programmers but want to have a go.

Many thanks

DezB

Please Log in to join the conversation.

More
3 years 11 months ago #93775 by DezB
Sorry, in answer to your question:

'connectionString' => 'mysql:unix_socket=/tmp/mysql5.sock;port=3306;dbname=dbxxxxxxxxx;',
'emulatePrepare' => true,

Hope this helps

DezB

Please Log in to join the conversation.

More
3 years 11 months ago #93782 by DenisChenu

DezB wrote: Sorry, in answer to your question:

'connectionString' => 'mysql:unix_socket=/tmp/mysql5.sock;port=3306;dbname=dbxxxxxxxxx;',
'emulatePrepare' => true,

Hope this helps

DezB

Can you quicly test:
'connectionString' => 'mysql:unix_socket=/tmp/mysql5.sock;dbname=dbxxxxxxxxx;', ?

ANd please : fill a feature request here : bugs.limesurvey.org
(Same account information than forum).

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