Current time: 04-18-2014, 01:04 AM Hello There, Guest! (LoginRegister)

Post Reply 
Movable Type installation
12-10-2002, 02:15 PM
Post: #1
Movable Type installation
Hi there. I've scoured the forums, but haven't found one with the specific install error I received when trying to install Movable Type.

Connection error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111)

I received this when trying to run mt-load.cgi. I'm guessing I did something wrong when creating the MySQL database.

Any thoughts?
Visit this user's website Find all posts by this user
Quote this message in a reply
12-10-2002, 03:06 PM
Post: #2
Movable Type installation
I just had the same problem.

I wonder what it is...

Anyone know?
Find all posts by this user
Quote this message in a reply
12-10-2002, 03:15 PM
Post: #3
Movable Type installation
How long ago did you create your database? I'm just wondering if I'm impatient and trying to set the program up before the database is active and populated.
Visit this user's website Find all posts by this user
Quote this message in a reply
12-10-2002, 03:26 PM
Post: #4
Movable Type installation
I just did it.

It said it's active. So I don't know what the deal is.
Find all posts by this user
Quote this message in a reply
12-10-2002, 03:33 PM
Post: #5
Movable Type installation
You'll have to specify the MySQL server in the config somewhere (it'll be the MySQL hostname you created when you setup your database).
Visit this user's website Find all posts by this user
Quote this message in a reply
12-10-2002, 04:32 PM
Post: #6
Movable Type installation
Hi,

That error could mean a lot of things, but I'd suggest trying both of the following:

- Make sure that you've added a database and have given it enough time to be created (this can take a few hours sometimes).

- Make sure that in the MT configuration file you've specified the correct MySQL hostname, database name, database username, and database password. You can test this by logging into your database from the command line.

Good luck!

- Jeff @ DreamHost
- DH Discussion Forum Admin
Visit this user's website Find all posts by this user
Quote this message in a reply
12-10-2002, 05:43 PM
Post: #7
Movable Type installation
It takes sometime for a new MySQL database to become available.

You can check if the database is up by visiting the hostname in your web browser. If it is not up, you'll get the an error saying that site doesn't exist. If it is up, you'll get phpMyAdmin asking for a username and password.

You must specify the hostname in your scripts. If you do not, then PHP or Perl will try to access the database using "localhost" as the hostname and you'll get this error:

Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111)
Visit this user's website Find all posts by this user
Quote this message in a reply
12-10-2002, 05:43 PM
Post: #8
Movable Type installation
Thanks.

But I removed the MYSQL feature and Moveable Type is working wonders.

:-D
Find all posts by this user
Quote this message in a reply
12-11-2002, 08:34 AM
Post: #9
Movable Type installation
Thanks for the advice so far. I'm getting the same error, but I have tested the database through the steps you listed, and I can log in to it from the browser. I suspect I'm just pointing to the wrong place.

MT asks me to add the following lines in the config file:

CGIPath http://WWW.YOUR-SITE.COM/PATH/TO/MT/
DataSource ./db
ObjectDriver DBI::mysql
Database database_name

(along with database user and pass, which I have exact. No need to reprint those here.)

I have added the following:

CGIPath http://WWW.RUINED.NET/MT/
DataSource /home/ruiner/ruined.net/mt/db
ObjectDriver DBI::mysql
Database words.ruined.net

Any glaring errors you can see? Once again, thanks for the assistance.
Visit this user's website Find all posts by this user
Quote this message in a reply
12-11-2002, 08:55 AM
Post: #10
Movable Type installation
What did you use for DBHost? Are you sure you entered the correct username and password in the MT.cfg and mt-db-pass.cgi?
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump: