Having problems installing Drupal? See the Installation Guide for more information.

Failed to connect to database

Trying to install drupal 7.16 from CentOS packages, and am unable to set up the database connection. I keep getting the failed to connect error message trying to connect to the local database or even to a remote database known to be accepting connections:

Failed to connect to your database server. The server reports the following message: SQLSTATE[08006] [7] could not connect to server: Permission denied Is the server running on host "localhost" and accepting TCP/IP connections on port 5432? could not connect to server: Permission denied Is the server running on host "localhost" and accepting TCP/IP connections on port 5432?.

•Is the database server running?
•Does the database exist, and have you entered the correct database name?
•Have you entered the correct username and password?
•Have you entered the correct database hostname

or:

Failed to connect to your database server. The server reports the following message: SQLSTATE[08006] [7] could not connect to server: Permission denied Is the server running on host "172.22.10.202" and accepting TCP/IP connections on port 5432?.

•Is the database server running?
•Does the database exist, and have you entered the correct database name?
•Have you entered the correct username and password?
•Have you entered the correct database hostname

Error connecting to database

I am trying to install Drupal7 on hosting that I have been told will support Drupal, not my choice of host but one in which the client already has.
I have been in touch with the host, but as yet they have not got back to me on this one, so would appreciate any ideas as to where I go from here. Thanks.

Php version is 5.3.13
Mysql version is mysqlnd 5.0.8-dev

Database is set up with username and password as normal and then on the installation I have to input the mysql host instead of localhost but I am getting the following errors.

Warning: PDO::__construct(): Premature end of data (mysqlnd_wireprotocol.c:553) in DatabaseConnection->__construct() (line 304 of /hsphere/local/home/dbname/mydomain.com/folder/includes/database/database.inc).
Warning: PDO::__construct(): OK packet 1 bytes shorter than expected in DatabaseConnection->__construct() (line 304 of /hsphere/local/home/dbname/mydomain.com/folder/includes/database/database.inc).

In order for Drupal to work, and to continue with the installation process, you must resolve all issues reported below. For more help with configuring your database server, see the installation handbook. If you are unsure what any of this means you should probably contact your hosting provider.

Using drupal 7x on Windows 8 Locally

Hi.

I have recently installed Windows 8 onto my laptop and trying to use Drupal 7x via the Acquia Dev Desktop i am unable to open up my site. I select the 'go to my site' button but nothing happens.

Does anyone know if there are isues using Windows 8 and Drupal?

I look forward to any feedback you can provide.

Thanks.

Sharberd

Multi Site Drupal 6- very urgent

HI all,
I need a help on installing multisites.
In my laptop i installed Bitnami drupal stack.
What i have to do is? i have to work on my company website. So i need to install the copy of companies website into my laptop.

what i did is?
My company production site folders are called dev.ms.com and db backup is ms.sql.
i got all these folder and put dev.ms.com into my
Bitnami-apps-drupal-sites--------dev.ms.com.

Ive downloaded drupal but its all text and no success

I've downloaded drupal but all the files are full of text
how do i build a website?!!

Can't access database on Git cloned website

Hi. I'm new to Drupal so keep that in mind please.

I cloned a site with GIT so that I can work locally with it. There is a local database and the settings.php file has the correct information as far as I can tell. What could be the reason for this error-message?

"Error
The website encountered an unexpected error. Please try again later.
Error message
PDOException: SQLSTATE[28000] [1045] Access denied for user 'drupal'@'localhost' (using password: YES) in lock_may_be_available() (line 167 of C:\wamp\www\mywebsite_com\includes\lock.inc)."

Regards

Pages

Subscribe with RSS Subscribe to RSS - Installing Drupal