![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Guest
Posts: n/a
|
can't connect to mysql server error
A friend wants me to install a script for him on his shitty virtual host account. He just hosts his offline business website on it. I think it costs him like $5 a month, and that is clearly reflected in the quality of the hosting.
Anyway, I setup the mysql database and user using the hosts online interface (which is shit), but none of the scripts I have tried installing can connect to the database. Here is an error message I received on the one gallery script I was trying to install. "can't connect to local MYSQL server through socket 'tmp/mysql.sock'(2)." Anyone know what might be causing that? I am using localhost for the mysql database location. Would probably be easier for me to move the whole site to my phatservers account where everything works properly, but he doesn't want to do that. Emailed the host many hours ago, so thought I might as well ask here while I am waiting for a response from them. |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Industry Role:
Join Date: Jun 2004
Location: New York, NY
Posts: 6,890
|
Most likely the mysqld daemon isn't running. Or, it could be writing the mysql.sock elsewhere than where the client is trying to locate it (as local connections use the socket).
__________________
Skype variuscr - Email varius AT gmail |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
So Fucking Banned
Join Date: Apr 2007
Posts: 806
|
Try using the actual db server name instead of "localhost", many virtual shared accts do it that way.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 | |
Too lazy to set a custom title
Join Date: Dec 2006
Posts: 23,400
|
Quote:
Not all virtual hosting is the same. ![]()
__________________
i like waffles |
|
![]() |
![]() ![]() ![]() ![]() ![]() |