Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2011-05-22 11:02:04

przemek
New Member
From: St Albans, England
Registered: 2011-05-22
Posts: 1
Website

Can't connect to MySQL

I spent few hours to find out how to fix the problem, but no success. During installation of Textpattern 4.4.0, after filling settings for database, user and password, I get two warnings and can’t continue the installation.
I have PHP5, MySQL 5.0, and hosting on 1&1.

My warnings:

Warning: mysql_connect() [function.mysql-connect]: Can’t connect to local MySQL server through socket ‘/tmp/mysqld.sock’ (2) in /homepages/1/d368707058/htdocs/przemek/textpattern/setup/index.php on line 208

Warning: mysql_connect() [function.mysql-connect]: Can’t connect to local MySQL server through socket ‘/tmp/mysqld.sock’ (2) in /homepages/1/d368707058/htdocs/przemek/textpattern/setup/index.php on line 210

Offline

#2 2012-04-23 11:37:30

rfollett
New Member
Registered: 2012-04-23
Posts: 3

Re: Can't connect to MySQL

I get same error on my 1and1 servers

Offline

#3 2012-04-25 07:59:04

rfollett
New Member
Registered: 2012-04-23
Posts: 3

Re: Can't connect to MySQL

So when no one answers these questions and people get bored and give up with textpattern, is that a good thing?

Offline

#4 2012-04-25 08:03:33

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,090
Website GitHub Mastodon Twitter

Re: Can't connect to MySQL

It might be a server issue. A search in the forum for 1&1 might help.


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#5 2012-04-25 08:06:04

rfollett
New Member
Registered: 2012-04-23
Posts: 3

Re: Can't connect to MySQL

I done that.. thanks

Offline

#6 2012-04-25 09:14:16

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,090
Website GitHub Mastodon Twitter

Re: Can't connect to MySQL

Hopefully someone here will shed some light to the issue. Have you contacted your host?


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#7 2012-04-25 11:47:03

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,306

Re: Can't connect to MySQL

rfollett wrote:

I get same error on my 1and1 servers

Truth be told, I thought your post was the easy me-too kind of SEO spam you see everywhere. (And couldn’t help either way.)


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

#8 2012-04-25 14:19:34

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: Can't connect to MySQL

Looking at 1&1’s FAQs might prove helpful too. For instance, according their (if up-to-date) Where can I find the necessary information to connect to MySQL Database?, the socket used (config’s host) in the thread’s first post might be incorrect.

Offline

Board footer

Powered by FluxBB