install script gets: error

More
6 years 4 months ago - 6 years 4 months ago #53378 by twb01
twb01 created the topic: install script gets: error
Attempting to finish a Limesurvey install. When I run install script, I get this error:

Can't connect to LimeSurvey database. Reason: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

(settings: php5; host: media temple, (gs))
Last Edit: 6 years 4 months ago by twb01.

Please Log in to join the conversation.

More
6 years 4 months ago #53466 by twb01
twb01 replied the topic: install script gets: error
Additional details: I have installed Limesurvey on numerous other websites over the last few years.

For this project I initially installed ver. 1.9 and after encountering problems, yesterday uninstalled and went back to a previous version from March 2010.

Does anyone have an idea what could be going on here?

Please Log in to join the conversation.

More
6 years 4 months ago #53508 by Mazi
Mazi replied the topic: install script gets: error
What did you set at config.php?


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
6 years 4 months ago - 6 years 4 months ago #53513 by twb01
twb01 replied the topic: install script gets: error
$databaselocation = 'internal-db.s12345.gridserver.com';
// Network location of your Database - for odbc_mssql use the mssql servername, not localhost or IP

$databasename = 'db12345_limesurvey';
// The name of the database that we will create

$databaseuser = 'db12345';
// The name of a user with rights to create db (or if db already exists, then rights within that db)

$databasepass = '********';
// Password of db user

$dbprefix = 'lime_';
// A global prefix that can be added to all LimeSurvey tables. Use this if you are sharing
// a database with other applications. Suggested prefix is 'lime_'

// File Locations

$rooturl = "http://{$_SERVER}/limesurvey";
// The root web url for your limesurvey installation (without a trailing slash).
// The double quotes (") are important.

$rootdir = dirname(__FILE__);
// This is the physical disk location for your limesurvey installation. Normally you don't have to touch this
// setting. If you use IIS then you MUST enter the complete rootdir e.g. :

$rootDir='C:\Inetpub\wwwroot\limesurvey'!
// Some IIS and OS/2 installations also require to use forward slashes
// instead of backslashes, e.g. $rootDir='C:/Inetpub/wwwroot/limesurvey'!
Last Edit: 6 years 4 months ago by twb01.

Please Log in to join the conversation.

More
6 years 4 months ago #53514 by Mazi
Mazi replied the topic: install script gets: error
What about $databasetype (or whatever that one is called)?


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
6 years 4 months ago #53515 by twb01
twb01 replied the topic: install script gets: error
Here:
$databasetype = 'mysql';

Please Log in to join the conversation.

More
6 years 4 months ago #53519 by gjh011
gjh011 replied the topic: install script gets: error
I am having exactly the same problem with the same host. I have also install ls numerous times on other hosting services. If you find the solution, please post. Thank you,

Please Log in to join the conversation.

More
6 years 4 months ago #53520 by holch
holch replied the topic: install script gets: error
OK, so this sounds like this is a specific problem with media temple. Maybe this helps to find the problem.

As far as I have read, Mediatemple has a very specific configuration for MySQL "Containers", how they call it.

I'm not a LimeSurvey GmbH member. I answer at the LimeSurvey forum in my spare time. No support via private message.
Some helpful links: Manual (EN) | Question Types | Workarounds

Please Log in to join the conversation.

More
6 years 4 months ago #53521 by gjh011
gjh011 replied the topic: install script gets: error
I am not using containers.

Please Log in to join the conversation.

More
6 years 4 months ago #53537 by Mazi
Mazi replied the topic: install script gets: error
I think I have read about the error message ("Can't connect to LimeSurvey database. Reason: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)") before, please search the forum, you might find a solution there.
Otherwise your ISP's service hotline should be able to help.


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
6 years 4 months ago #53542 by holch
holch replied the topic: install script gets: error
Someone seems to have solved the problem by upgrading from PHP4 to PHP5:

www.limesurvey.org/support/forums/1-inst...urns-cant-connect-to

I'm not a LimeSurvey GmbH member. I answer at the LimeSurvey forum in my spare time. No support via private message.
Some helpful links: Manual (EN) | Question Types | Workarounds

Please Log in to join the conversation.

More
6 years 4 months ago #53559 by DenisChenu
DenisChenu replied the topic: install script gets: error
twb01 wrote:

Here:
$databasetype = 'mysql';

Can you trye with 'mysqli' ?

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).
An error happen ? Before make a new topic : remind the Debug mode .

Please Log in to join the conversation.

More
6 years 4 months ago #53620 by twb01
twb01 replied the topic: install script gets: error
I think I did that before installing.

Please Log in to join the conversation.

More
6 years 4 months ago #53622 by twb01
twb01 replied the topic: install script gets: error
tried that, didn't work.

Please Log in to join the conversation.

More
6 years 4 months ago #53648 by Mazi
Mazi replied the topic: install script gets: error
Please forward the error message to your provider, they should be able to help and tell you more about database configuration details.


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.

Start now!

Just create your account and start using Limesurvey today.

Register now