Hi

This is my host:
Pack : Dual-Core L - High Performance Server and….. !!!!!! "1and1 Website option " !!!!!

https://order.1and1.com/xml/order/ServerPremiumDualCoreL;jsessionid=0208...

...is possible Install drupal 7 on this PACK ?

No working ....

1. Create php.ini ......... localhost:/tmp/mysql5.sock [1and1 MySQL]
2 . Duplicate file : default.settings.php + settings.php

I am sorry for my English!

thanks

Alex

Comments

alexmotion’s picture

1and1 say me : the problem is Drupal 7 alpha no 1and1 server !!!!!!
Drupal 7 alpha 6 is not run on 1and1 "dedicated server pack web" .

....uhmmmmm

Ivanhoe123’s picture

Check if all settings are set up properly.

What is the error you get?

Also they should have separate support for dedicated servers - try contacting them instead of regular customer support.

alexmotion’s picture

hi Ivanhoe !!!

1º.

php.ini =
localhost:/tmp/mysql5.sock

default.settings.php and settings.php permissions: 777 octal

error:
Failed to connect to your MySQL database server. MySQL reports the following message: SQLSTATE[00000] [1045] Access denied for user: 'dbo334427180@localhost' (Using password: YES).


php.ini =
mysql.default_socket = /tmp/mysql5.sock
mysqli.default_socket = /tmp/mysql5.sock

default.settings.php and settings.php permissions: 777 octal

error:
Failed to connect to your MySQL database server. MySQL reports the following message: SQLSTATE[00000] [1045] Access denied for user: 'dbo334427180@localhost' (Using password: YES).

....
one more thing....
1and1.es support is big-trash !!!
NO special support for dedicated server !!!!

of course, pass-name and database-name are correct .

thanks Ivanhoe

jsimonis’s picture

I'd never use a dedicated server unless I could get good support. I like the support I get from Liquid Web, which is why when we're ready to go dedicated we'll get their fully managed dedicated server.

Are you sure that the db user you are using has permissions to be able to access that database?

Usually it is a three step process:

- create the database
- create a database user
- add that user to the database and ensure it has full permissions

I normally do this through CPanel. I don't know what your server has, though.

alexmotion’s picture

hi jsimois

1and1 Dedicated " WEBSERVER " NO include CPpanel. Everything ADMIN is 1And1.

ONLY create "dB" and "password" in " mySQL admin" window.

THANKS jsimois

....one more think....

drupal - Database configuration- window [ field-Database host * : localhost:/tmp/mysql5.sock]

error:

Failed to connect to your MySQL database server. MySQL reports the following message: SQLSTATE[HY000] [2005] Unknown MySQL server host 'localhost:/tmp/mysql5.sock' (2)

Ivanhoe123’s picture

How you manage things on server then? Via remote desktop connection?

Anyway - check if you have phpmyadmin. If yes, you can create a new user and check "Add a new database with same name and grant all privileges" checkbox

Then try to use that db

That might help

alexmotion’s picture

but ....add new database option ? where ?

jsimonis’s picture

Most of their packages come with Plesk. I'm guessing you got the one without it? It's a lot easier to manage a server when you have some kind of control panel unless you have a lot of experience with working with servers.

alexmotion’s picture

Hi jsmonis....Plesk is not include in 1and1 webserver option.
Only 1and1 admin the server. I can´t access .....

alexmotion’s picture

http://drupal.org/node/59680

WEB 1and1 configuration Server.

jsimonis’s picture

I would have gotten the Linux dedicated server, as then you would have the Plesk control panel.

I've installed Drupal 7 on a 1 and 1 shared hosting account, so there should be no reason why you can't do it on a dedicated account. It's just going to take you longer to do some things - like setting up databases.

Here's some info I found, as it appears 1&1 does things a little weird:

http://forums.digitalpoint.com/showthread.php?t=121247

According to what I read in their FAQ, the server option you chose comes with 1&1 Control Panel. Everything I have read in their FAQ says you do the set up of the database there - that they have disabled the settings in PHPMyAdmin that would allow you to do it there youself.

Some more info:

http://faq.1and1.com/dedicated_servers/managed_server/6.html

alexmotion’s picture

....a little weird , yes Jenni. Thanks.

new error :

Parse error: syntax error, unexpected '{' in /homepages/17/d288064568/htdocs/alec.es_dir/includes/bootstrap.inc on line 690

[ uhhhhhmmmmmmm....leaving 1adn1, my problems disappear......]

Thank you for your help friends.

Lots of love

Alex

alexmotion’s picture

today : 23 october 2010 new Drupal 7 beta 2 :

error:
Failed to connect to your database server. The server reports the following message: SQLSTATE[00000] [1045] Access denied for user: 'dbo345469590@localhost' (Using password: YES)

....aaaagggggggg!!!!!!

drupdrup’s picture

Your 1&1 Dual-Core L Dedicated server should have Plesk. It's in the specs for that package. It should be listed in your 1&1 control panel when you log into your 1&1 account. I use 1&1 Cloud Server in Germany, and have installed D6 and done so in multi-site fashion. Having Plesk helps. 1&1 customer service in Germany is OK; in the US it is horrible. With a dedicated server you are probably on your own anyway. I'm not sure if they provide (any) free support. In Germany, you can buy extra support.

You should consider using a 1&1 Cloud server. The price point is nearly the same than the package you're on, and you get unlimited bandwidth. There are several flavors of Linux that you can install on the Cloud Server. With VPS and Cloud servers, you also get firewalls via 1&1 and Plesk.

The install should be straight forward just like any other Drupal install, just note the 1&1 style (dbo99999) of the name of the database server, and make sure you include the port number of the database server in your Drupal configuration. The database and Linux website server are on different servers in the 1&1 VPS and Cloud servers. Not sure if that is the case with dedicated servers.

On 1&1 VPS and Cloud server packages, you can add databases either through the 1&1 Control panel for your package, via Plesk, and/or probably via myphpadmin. You also need to set up the database owner user correctly. Once again, it may be easier to do so in Plesk and the 1&1 control panel.

Worse case senario, call German support. They all tend to speak English, and maybe you get a Spanish speaker.

alexmotion’s picture

NO Plesk Power Pack compatible on "dedicated server MANAGED" .
thanks drupdrup

Alex

today:

try Drupal7-beta3

Failed to connect to your database server. The server reports the following message: SQLSTATE[00000] [1045] Access denied for user: 'dbo347632473@localhost' (Using password: YES).

please help me....

alexmotion’s picture

Drupal version 6.x same error !!!
Failed to connect to your database server. The server reports the following message: SQLSTATE[00000] [1045] Access denied for user: 'dbo347632473@localhost' (Using password: YES).
but...
This path fix the error on Drupal 6...ok:
mysql.default_socket = /tmp/mysql5.sock
mysqli.default_socket = /tmp/mysql5.sock

but....that path not running on Drupal 7 !!!
error:
Failed to connect to your database server. The server reports the following message: SQLSTATE[00000] [1045] Access denied for user: 'dbo347632473@localhost' (Using password: YES).

maninweb’s picture

Hi there,

on my German dedicated managed server from 1&1, entering "localhost;unix_socket=/tmp/mysql5.sock" instead of "localhost" to the database host setting worked. So, perhaps this may also work for 1&1 servers located in the US. I also wrote a blog post for this: http://www.excel-ticker.com/installation-of-drupal-7-on-a-dedicated-mana...

Regards

alexmotion’s picture

thanks maninweb !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

you are the best...

willp1203’s picture

This worked for me when during a clean install of Drupal 7 (RC2).

>> dedicated managed server from 1&1, entering "localhost;unix_socket=/tmp/mysql5.sock" instead of "localhost" to the database host setting worked.

Thanks maniweb!

My keywords: 1and1, managed, server, Drupal 7, install, localhost, mysql5.sock, database

DanielScholz’s picture

Thank you so much maniweb. This was a pain in the ass for me.
1und1 really need to do something about this...

eClick Performance’s picture

You may need PHP 5.2 for Drupal 7 to work.

aotus’s picture

on 1&1 managed servers, during Drupal 7 installation, under ‘Advanced’ enter database host = localhost;unix_socket=/tmp/mysql5.sock
but also add these 2 lines to the .htaccess file in the root install folder to use php v 5.2.14 or higher:

AddType x-mapp-php5 .php
AddHandler x-mapp-php5 .php

Joe90’s picture

There is a setting in the 1&1 control panel to select your preferred php version.

That said I didn't know that at the time I setup D7 so used the fix above ;)

DaveSmall’s picture

For 1&1 dedicated server, you got the permission to install the package you want. We normally just upgrade php to 5.3x by the steps as below:

1. Add Centos-Testing Repos
vi /etc/yum.repos.d/CentOS-Testing.repo

/*Copy/paste the following into this file: */
[c5-testing]
name=CentOS-5 Testing
baseurl=http://dev.centos.org/centos/$releasever/testing/$basearch/
enabled=1
gpgcheck=1
gpgkey=http://dev.centos.org/centos/RPM-GPG-KEY-CentOS-testing
includepkgs=php*

2.yum remove php php-*

3.yum install php53.x86_64
yum install php53-pdo.x86_64
yum install php53-gd.x86_64

yum install php53-xml.x86_64
yum install php53-mysql.x86_64
yum install php53-mbstring.x86_64