• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 15:36
CET 20:36
KST 04:36
  • 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
[ASL21] Ro24 Preview Pt1: New Chaos0Team Liquid Map Contest #22 - Presented by Monster Energy7ByuL: The Forgotten Master of ZvT30Behind the Blue - Team Liquid History Book19Clem wins HomeStory Cup 289
Community News
Weekly Cups (March 16-22): herO doubles, Cure surprises3Blizzard Classic Cup @ BlizzCon 2026 - $100k prize pool48Weekly Cups (March 9-15): herO, Clem, ByuN win42026 KungFu Cup Announcement6BGE Stara Zagora 2026 cancelled12
StarCraft 2
General
Potential Updates Coming to the SC2 CN Server What mix of new & old maps do you want in the next ladder pool? (SC2) Blizzard Classic Cup @ BlizzCon 2026 - $100k prize pool Weekly Cups (March 16-22): herO doubles, Cure surprises Weekly Cups (August 25-31): Clem's Last Straw?
Tourneys
WardiTV Mondays Sparkling Tuna Cup - Weekly Open Tournament World University TeamLeague (500$+) | Signups Open RSL Season 4 announced for March-April WardiTV Team League Season 10
Strategy
Custom Maps
[M] (2) Frigid Storage Publishing has been re-enabled! [Feb 24th 2026]
External Content
The PondCast: SC2 News & Results Mutation # 518 Radiation Zone Mutation # 517 Distant Threat Mutation # 516 Specter of Death
Brood War
General
BGH Auto Balance -> http://bghmmr.eu/ Gypsy to Korea Soulkey's decision to leave C9 How much money terran looses from gas steal? mca64Launcher - New Version with StarCraft: Remast
Tourneys
[ASL21] Ro24 Group C [Megathread] Daily Proleagues [ASL21] Ro24 Group B 2026 Changsha Offline Cup
Strategy
What's the deal with APM & what's its true value Fighting Spirit mining rates Simple Questions, Simple Answers Soma's 9 hatch build from ASL Game 2
Other Games
General Games
Darkest Dungeon Nintendo Switch Thread Stormgate/Frost Giant Megathread General RTS Discussion Thread Path of Exile
Dota 2
Official 'what is Dota anymore' discussion The Story of Wings Gaming
League of Legends
G2 just beat GenG in First stand
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
TL Mafia Community Thread Five o'clock TL Mafia Mafia Game Mode Feedback/Ideas Vanilla Mini Mafia
Community
General
US Politics Mega-thread Canadian Politics Mega-thread Russo-Ukrainian War Thread European Politico-economics QA Mega-thread Things Aren’t Peaceful in Palestine
Fan Clubs
The IdrA Fan Club
Media & Entertainment
[Req][Books] Good Fantasy/SciFi books Movie Discussion! [Manga] One Piece
Sports
Cricket [SPORT] 2024 - 2026 Football Thread Formula 1 Discussion Tokyo Olympics 2021 Thread General nutrition recommendations
World Cup 2022
Tech Support
Laptop capable of using Photoshop Lightroom?
TL Community
The Automated Ban List
Blogs
Funny Nicknames
LUCKY_NOOB
Money Laundering In Video Ga…
TrAiDoS
Iranian anarchists: organize…
XenOsky
FS++
Kraekkling
Shocked by a laser…
Spydermine0240
Unintentional protectionism…
Uldridge
ASL S21 English Commentary…
namkraft
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1445 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
OSC
18:00
OSC Elite Rising Star #18
SteadfastSC145
Liquipedia
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
elazer 248
SteadfastSC 145
SpeCial 141
UpATreeSC 109
JuggernautJason68
mouzHeroMarine 42
MindelVK 33
StarCraft: Brood War
Britney 14183
Calm 2751
EffOrt 541
Horang2 405
Shuttle 345
ggaemo 75
Backho 57
HiyA 42
soO 20
ivOry 5
Dota 2
Gorgc8607
Counter-Strike
fl0m1535
Other Games
summit1g4870
tarik_tv2294
Grubby2223
B2W.Neo909
Beastyqt622
ArmadaUGS119
C9.Mang0109
mouzStarbuck75
QueenE74
Mew2King50
Trikslyr50
Organizations
Other Games
gamesdonequick1769
BasetradeTV2
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 20 non-featured ]
StarCraft 2
• Kozan
• sooper7s
• Migwel
• LaughNgamezSOOP
• AfreecaTV YouTube
• IndyKCrew
• intothetv
StarCraft: Brood War
• 80smullet 10
• RayReign 9
• ZZZeroYoutube
• STPLYoutube
• BSLYoutube
Dota 2
• C_a_k_e 1576
• WagamamaTV558
League of Legends
• Nemesis4187
• Jankos1713
• TFBlade780
Other Games
• Scarra1300
• imaqtpie1011
• Shiphtur146
Upcoming Events
Replay Cast
4h 24m
WardiTV Team League
16h 24m
Big Brain Bouts
21h 24m
Fjant vs SortOf
YoungYakov vs Krystianer
Reynor vs HeRoMaRinE
RSL Revival
1d 14h
Cure vs Zoun
herO vs Rogue
WardiTV Team League
1d 16h
Platinum Heroes Events
1d 19h
BSL
2 days
RSL Revival
2 days
ByuN vs Maru
MaxPax vs TriGGeR
WardiTV Team League
2 days
BSL
2 days
[ Show More ]
Replay Cast
3 days
Replay Cast
3 days
Afreeca Starleague
3 days
Light vs Calm
Royal vs Mind
Wardi Open
3 days
Monday Night Weeklies
3 days
OSC
4 days
Sparkling Tuna Cup
4 days
Afreeca Starleague
4 days
Rush vs PianO
Flash vs Speed
Replay Cast
5 days
Afreeca Starleague
5 days
BeSt vs Leta
Queen vs Jaedong
Replay Cast
6 days
The PondCast
6 days
Liquipedia Results

Completed

Proleague 2026-03-25
WardiTV Winter 2026
Underdog Cup #3

Ongoing

KCM Race Survival 2026 Season 1
BSL Season 22
CSL Elite League 2026
CSL Season 20: Qualifier 1
ASL Season 21
Acropolis #4 - TS6
RSL Revival: Season 4
Nations Cup 2026
NationLESS Cup
BLAST Open Spring 2026
ESL Pro League S23 Finals
ESL Pro League S23 Stage 1&2
PGL Cluj-Napoca 2026
IEM Kraków 2026
BLAST Bounty Winter 2026
BLAST Bounty Winter Qual

Upcoming

2026 Changsha Offline CUP
CSL Season 20: Qualifier 2
CSL 2026 SPRING (S20)
Acropolis #4
IPSL Spring 2026
BSL 22 Non-Korean Championship
CSLAN 4
Kung Fu Cup 2026 Grand Finals
HSC XXIX
uThermal 2v2 2026 Main Event
IEM Cologne Major 2026
Stake Ranked Episode 2
CS Asia Championships 2026
IEM Atlanta 2026
Asian Champions League 2026
PGL Astana 2026
BLAST Rivals Spring 2026
CCT Season 3 Global Finals
IEM Rio 2026
PGL Bucharest 2026
Stake Ranked Episode 1
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.