Update from 1.9 to 2.0

More
4 years 2 weeks ago - 4 years 2 weeks 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: 4 years 2 weeks ago by DenisChenu.

Please Log in to join the conversation.

More
4 years 1 week 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
4 years 1 week 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
4 years 1 week 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.