Drupal 7 install failiure

Problems with the Linux version of XAMPP, questions, comments, and anything related.

Drupal 7 install failiure

Postby Dai777 » 17. January 2011 16:47

I've been trying to install drupla7 in xampp in ubuntu 10.10 but it keeps getting stuck on mysql (some sort of conflict) when looking at the requirements for drupal7 it seems that xampp meets them all, is it posssible to install drupal7 in xampp on ubuntu if so how?

Already have drupal 6 installed and, followed exact same procedure to install 7, also installed 7 in xampp on portable hard drive and net book running win7 starter using xampp. So I have no idea why ubuntu is screwing up!

Any help would be appreciated.
Thanks Dai
Dai777
 
Posts: 12
Joined: 17. January 2011 16:37

Re: Drupal 7 install failiure

Postby Altrea » 17. January 2011 18:19

Dai777 wrote:[...] but it keeps getting stuck on mysql (some sort of conflict) [...]

Thats not a good error reporting.
Why don't you post the full error message? copy and paste isn't that difficult.
This makes helping you much more difficult.

I've tried the Drupal 7 installation on my Ubuntu 10.10 Desktop VM.
The only database error i get was a pdo::__construct error.
I could solve this issue by typing as database host 127.0.0.1 instead of localhost.

I hope this will help you.
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 8294
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 10 Pro x64

Re: Drupal 7 install failiure

Postby Dai777 » 17. January 2011 20:22

Altrea wrote:
Dai777 wrote:[...] but it keeps getting stuck on mysql (some sort of conflict) [...]

Thats not a good error reporting.
Why don't you post the full error message? copy and paste isn't that difficult.
This makes helping you much more difficult.

I've tried the Drupal 7 installation on my Ubuntu 10.10 Desktop VM.
The only database error i get was a pdo::__construct error.
I could solve this issue by typing as database host 127.0.0.1 instead of localhost.

I hope this will help you.


I know its not good error reporting sorry about that.
error:
Failed to connect to your database server. The server reports the following message: SQLSTATE[HY000] [2002] Invalid argument.
o Is the database server running?
o Does the database exist, and have you entered the correct database name?
o Have you entered the correct username and password?
o Have you entered the correct database hostname?

* Warning: PDO::__construct() [pdo.--construct]: [2002] Invalid argument (trying to connect via unix://) in DatabaseConnection->__construct() (line 300 of /opt/lampp/htdocs/drupal7/includes/database/database.inc).

as previously stated drupal7 was set up on xampp on an external-hard drive and win7 net book both work fine the same procedure was used to setup version6 on same day wich works fine in ubuntu. looking at requirement which seem to be met so not sure why mysql is screwing up in ubuntu. I tried version 7 for drupal half a dozen times but get this error every time.

http://www.flickr.com/photos/49485237@N07/5364759808/
http://www.flickr.com/photos/49485237@N07/5364759948/
Tried this:
http://127.0.0.1/drupal7/install.php
same result as above
Dai777
 
Posts: 12
Joined: 17. January 2011 16:37

Re: Drupal 7 install failiure

Postby Altrea » 17. January 2011 21:47

You don't understand my last post.

You have to change the "Advanced Options" at the Database Settings form.
Change "Database host" from localhost to 127.0.0.1

I have done a screenshot for you (you can see the change is at the bottom of the picture):
Image
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 8294
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 10 Pro x64

Re: Drupal 7 install failiure

Postby Dai777 » 17. January 2011 23:40

Thank you for your patience all sorted after your advice.
Dai777
 
Posts: 12
Joined: 17. January 2011 16:37

Re: Drupal 7 install failiure

Postby Dai777 » 26. January 2011 23:28

made a video of the process for anyone else who may have problems:

http://showmedo.com/videotutorials/vide ... riesID=259
Dai777
 
Posts: 12
Joined: 17. January 2011 16:37


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 5 guests