• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 01:01
CET 07:01
KST 15:01
  • Home
  • Forum
  • Calendar
  • Streams
  • Liquipedia
  • Features
  • Store
  • EPT
  • TL+
  • StarCraft 2
  • Brood War
  • Smash
  • Heroes
  • Counter-Strike
  • Overwatch
  • Liquibet
  • Fantasy StarCraft
  • TLPD
  • StarCraft 2
  • Brood War
  • Blogs
Forum Sidebar
Events/Features
News
Featured News
Behind the Blue - Team Liquid History Book6Clem wins HomeStory Cup 287HomeStory Cup 28 - Info & Preview13Rongyi Cup S3 - Preview & Info4herO wins SC2 All-Star Invitational14
Community News
Weekly Cups (Jan 26-Feb 1): herO, Clem, ByuN, Classic win2RSL Season 4 announced for March-April7Weekly Cups (Jan 19-25): Bunny, Trigger, MaxPax win3Weekly Cups (Jan 12-18): herO, MaxPax, Solar win0BSL Season 2025 - Full Overview and Conclusion8
StarCraft 2
General
How do you think the 5.0.15 balance patch (Oct 2025) for StarCraft II has affected the game? Behind the Blue - Team Liquid History Book Rongyi Cup S3 - Preview & Info Clem wins HomeStory Cup 28 HomeStory Cup 28 - Info & Preview
Tourneys
WardiTV Mondays $21,000 Rongyi Cup Season 3 announced (Jan 22-Feb 7) Sparkling Tuna Cup - Weekly Open Tournament $5,000 WardiTV Winter Championship 2026 HomeStory Cup 28
Strategy
Custom Maps
[A] Starcraft Sound Mod
External Content
Mutation # 511 Temple of Rebirth The PondCast: SC2 News & Results Mutation # 510 Safety Violation Mutation # 509 Doomsday Report
Brood War
General
BW General Discussion Recent recommended BW games BGH Auto Balance -> http://bghmmr.eu/ Can someone share very abbreviated BW cliffnotes? StarCraft player reflex TE scores
Tourneys
[Megathread] Daily Proleagues Escore Tournament StarCraft Season 1 Small VOD Thread 2.0 KCM Race Survival 2026 Season 1
Strategy
Zealot bombing is no longer popular? Simple Questions, Simple Answers Current Meta Soma's 9 hatch build from ASL Game 2
Other Games
General Games
Diablo 2 thread Battle Aces/David Kim RTS Megathread EVE Corporation Nintendo Switch Thread Path of Exile
Dota 2
Official 'what is Dota anymore' discussion
League of Legends
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Deck construction bug Heroes of StarCraft mini-set
TL Mafia
Vanilla Mini Mafia Mafia Game Mode Feedback/Ideas
Community
General
US Politics Mega-thread Russo-Ukrainian War Thread YouTube Thread The Games Industry And ATVI Things Aren’t Peaceful in Palestine
Fan Clubs
The herO Fan Club! The IdrA Fan Club
Media & Entertainment
[Manga] One Piece Anime Discussion Thread
Sports
2024 - 2026 Football Thread
World Cup 2022
Tech Support
TL Community
The Automated Ban List
Blogs
Play, Watch, Drink: Esports …
TrAiDoS
My 2025 Magic: The Gathering…
DARKING
Life Update and thoughts.
FuDDx
How do archons sleep?
8882
James Bond movies ranking - pa…
Topin
Customize Sidebar...

Website Feedback

Closed Threads



Active: 3088 users

[H]mysql question with IP boards

Blogs > Raithed
Post a Reply
Raithed
Profile Blog Joined May 2007
China7078 Posts
October 01 2008 19:35 GMT
#1
so im trying to install an IP board onto my website, and everything uploads fine on the ftp and my database info are all correct, it errors though, and i dont know what this error means;

Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

is it timing out or is there something missing? i tried it last night and also today and the error persists, anyone have troubleshoot ideas?

pirate cod
Profile Blog Joined August 2004
810 Posts
October 01 2008 19:42 GMT
#2
http://en.wikipedia.org/wiki/RTFM
might help
dyodyo
Profile Blog Joined December 2005
Philippines578 Posts
Last Edited: 2008-10-01 19:46:57
October 01 2008 19:44 GMT
#3
Try using '127.0.0.1' instead of 'localhost' (or vice versa) in the 'host' field of your connection string
Or if the mysql is hosted on a different machine, try using either the IP address instead of the hostname of the mysql server.
TeamLiquid CJ Entusman #26
Raithed
Profile Blog Joined May 2007
China7078 Posts
Last Edited: 2008-10-01 19:56:07
October 01 2008 19:55 GMT
#4
On October 02 2008 04:44 dyodyo wrote:
Try using '127.0.0.1' instead of 'localhost' (or vice versa) in the 'host' field of your connection string
Or if the mysql is hosted on a different machine, try using either the IP address instead of the hostname of the mysql server.

is that IP universal?

Can't connect to MySQL server on '127.0.0.1' (111)

got that, im only guessing "111" is the error number.
Raithed
Profile Blog Joined May 2007
China7078 Posts
October 01 2008 19:56 GMT
#5
On October 02 2008 04:42 pirate cod wrote:
http://en.wikipedia.org/wiki/RTFM
might help

there isnt a manual.
dyodyo
Profile Blog Joined December 2005
Philippines578 Posts
October 01 2008 20:03 GMT
#6
On October 02 2008 04:55 Raithed wrote:
Show nested quote +
On October 02 2008 04:44 dyodyo wrote:
Try using '127.0.0.1' instead of 'localhost' (or vice versa) in the 'host' field of your connection string
Or if the mysql is hosted on a different machine, try using either the IP address instead of the hostname of the mysql server.

is that IP universal?

Can't connect to MySQL server on '127.0.0.1' (111)

got that, im only guessing "111" is the error number.


'127.0.0.1' is the ip address of 'localhost', which is the local machine where the web server is running. Is your mysql server hosted on the same machine as your webserver or somewhere else? Have you tried using 'localhost' in the connection string?
TeamLiquid CJ Entusman #26
Raithed
Profile Blog Joined May 2007
China7078 Posts
October 01 2008 20:13 GMT
#7
the webserver and the mysql server are the same, i can only assume this though because its from the same place i use it at. ive goggled it but nothing is coming up at all. ive uploaded every piece of information and followed the instructions and nothing.
dyodyo
Profile Blog Joined December 2005
Philippines578 Posts
Last Edited: 2008-10-01 20:19:40
October 01 2008 20:17 GMT
#8
I think the easiest way to solve this is by submitting a support ticket to your server host. :D

Anyways, do you have root access to the server (ie can access it via ssh or putty)? In the first error message, it seems that mysql cannot find the socket file. The only way (at least to me) to 'correct' this is by editing the my.cnf (mysql configuration) and checking for correct file/folder permissions.

Edit: Found this link buried in my bookmarks, it should help:
http://dev.mysql.com/doc/refman/5.0/en/can-not-connect-to-server.html
TeamLiquid CJ Entusman #26
Raithed
Profile Blog Joined May 2007
China7078 Posts
October 01 2008 20:32 GMT
#9
i dont have root access, at least i dont see the option. im going to tweak and see what i can find, etc. thanks for the link.
dyodyo
Profile Blog Joined December 2005
Philippines578 Posts
October 01 2008 20:35 GMT
#10
Well, if you don't have shell access then I doubt you'll be able to solve this on your own since this involves an 'error' on the installation of the mysql server. Good luck though.
TeamLiquid CJ Entusman #26
wo0py
Profile Blog Joined July 2006
Netherlands922 Posts
October 01 2008 21:25 GMT
#11
Raithed, the server you are installing on is your own right? Its not a virtual host or some server of somebody else? Because if you want to install these kind of programms you need more direct access to the server then via FTP i think.
We shouldnt recreate anger of the non-virtual world
Raithed
Profile Blog Joined May 2007
China7078 Posts
October 01 2008 22:44 GMT
#12
its someone elses. i just changed the chmod to 0777 in the admin, uploads, images and such like that and it worked, the default was 0755. pretty cool that i got it to work, took a lot of browsing random places though. thanks a lot you two.
dyodyo
Profile Blog Joined December 2005
Philippines578 Posts
October 01 2008 23:36 GMT
#13
Glad to hear you were able to sort it out. I just hope that you are not on a shared hosting environment since files on 0777 basically means that everyone would be able to read and modify those files.
TeamLiquid CJ Entusman #26
Raithed
Profile Blog Joined May 2007
China7078 Posts
October 02 2008 00:26 GMT
#14
if theyre able to get into my account, meaning the server account.
dyodyo
Profile Blog Joined December 2005
Philippines578 Posts
October 02 2008 00:41 GMT
#15
On October 02 2008 09:26 Raithed wrote:
if theyre able to get into my account, meaning the server account.

No, they can use their own account to modify your files, thats what the file permission 777 means.
see: http://en.wikipedia.org/wiki/File_system_permissions#Octal_notation
TeamLiquid CJ Entusman #26
Raithed
Profile Blog Joined May 2007
China7078 Posts
October 02 2008 01:36 GMT
#16
otherwise i cant do it so meh. thanks for the heads up.
Please log in or register to reply.
Live Events Refresh
Replay Cast
00:00
Thunderfire All-Star Day 2
CranKy Ducklings174
Liquipedia
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
WinterStarcraft594
ProTech133
Nina 88
StarCraft: Brood War
Sea 12052
Leta 391
Shuttle 57
Movie 54
Noble 27
Dota 2
NeuroSwarm134
League of Legends
JimRising 866
C9.Mang0405
Super Smash Bros
Mew2King156
Heroes of the Storm
Khaldor182
Other Games
summit1g8129
KnowMe288
Organizations
Other Games
gamesdonequick2154
BasetradeTV139
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 14 non-featured ]
StarCraft 2
• Berry_CruncH327
• practicex 36
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• Diggity9
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Other Games
• Scarra1500
Upcoming Events
uThermal 2v2 Circuit
6h
WardiTV Winter Champion…
9h
OSC
18h
Replay Cast
1d 3h
Wardi Open
1d 6h
Monday Night Weeklies
1d 11h
Sparkling Tuna Cup
2 days
LiuLi Cup
2 days
Reynor vs Creator
Maru vs Lambo
PiGosaur Monday
2 days
LiuLi Cup
3 days
Clem vs Rogue
SHIN vs Cyan
[ Show More ]
The PondCast
4 days
KCM Race Survival
4 days
LiuLi Cup
4 days
Scarlett vs TriGGeR
ByuN vs herO
Online Event
5 days
LiuLi Cup
5 days
Serral vs Zoun
Cure vs Classic
LiuLi Cup
6 days
Liquipedia Results

Completed

CSL 2025 WINTER (S19)
Rongyi Cup S3
Underdog Cup #3

Ongoing

KCM Race Survival 2026 Season 1
Nations Cup 2026
IEM Kraków 2026
BLAST Bounty Winter 2026
BLAST Bounty Winter Qual
eXTREMESLAND 2025
SL Budapest Major 2025
ESL Impact League Season 8

Upcoming

Escore Tournament S1: W8
Acropolis #4
IPSL Spring 2026
HSC XXIX
uThermal 2v2 2026 Main Event
Bellum Gens Elite Stara Zagora 2026
RSL Revival: Season 4
WardiTV Winter 2026
LiuLi Cup: 2025 Grand Finals
CCT Season 3 Global Finals
FISSURE Playground #3
IEM Rio 2026
PGL Bucharest 2026
Stake Ranked Episode 1
BLAST Open Spring 2026
ESL Pro League Season 23
ESL Pro League Season 23
PGL Cluj-Napoca 2026
TLPD

1. ByuN
2. TY
3. Dark
4. Solar
5. Stats
6. Nerchio
7. sOs
8. soO
9. INnoVation
10. Elazer
1. Rain
2. Flash
3. EffOrt
4. Last
5. Bisu
6. Soulkey
7. Mini
8. Sharp
Sidebar Settings...

Advertising | Privacy Policy | Terms Of Use | Contact Us

Original banner artwork: Jim Warren
The contents of this webpage are copyright © 2026 TLnet. All Rights Reserved.