• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 11:53
CET 17:53
KST 01:53
  • 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
RSL Revival - 2025 Season Finals Preview8RSL Season 3 - Playoffs Preview0RSL Season 3 - RO16 Groups C & D Preview0RSL Season 3 - RO16 Groups A & B Preview2TL.net Map Contest #21: Winners12
Community News
ComeBackTV's documentary on Byun's Career !8Weekly Cups (Dec 8-14): MaxPax, Clem, Cure win4Weekly Cups (Dec 1-7): Clem doubles, Solar gets over the hump1Weekly Cups (Nov 24-30): MaxPax, Clem, herO win2BGE Stara Zagora 2026 announced15
StarCraft 2
General
When will we find out if there are more tournament ComeBackTV's documentary on Byun's Career ! Weekly Cups (Dec 8-14): MaxPax, Clem, Cure win RSL Revival - 2025 Season Finals Preview Weekly Cups (Dec 1-7): Clem doubles, Solar gets over the hump
Tourneys
$5,000+ WardiTV 2025 Championship RSL Offline Finals Info - Dec 13 and 14! Master Swan Open (Global Bronze-Master 2) Winter Warp Gate Amateur Showdown #1: Sparkling Tuna Cup - Weekly Open Tournament
Strategy
Custom Maps
Map Editor closed ?
External Content
Mutation # 504 Retribution Mutation # 503 Fowl Play Mutation # 502 Negative Reinforcement Mutation # 501 Price of Progress
Brood War
General
FlaSh on: Biggest Problem With SnOw's Playstyle How Rain Became ProGamer in Just 3 Months screp: Command line app to parse SC rep files BGH Auto Balance -> http://bghmmr.eu/ [BSL21] RO8 Bracket & Prediction Contest
Tourneys
Small VOD Thread 2.0 [Megathread] Daily Proleagues [BSL21] WB SEMIFINALS - Saturday 21:00 CET [BSL21] RO8 - Day 2 - Sunday 21:00 CET
Strategy
Game Theory for Starcraft Current Meta Simple Questions, Simple Answers Fighting Spirit mining rates
Other Games
General Games
PC Games Sales Thread Stormgate/Frost Giant Megathread Nintendo Switch Thread Path of Exile General RTS Discussion Thread
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
Mafia Game Mode Feedback/Ideas Survivor II: The Amazon Sengoku Mafia TL Mafia Community Thread
Community
General
US Politics Mega-thread Russo-Ukrainian War Thread Things Aren’t Peaceful in Palestine The Games Industry And ATVI YouTube Thread
Fan Clubs
White-Ra Fan Club
Media & Entertainment
Anime Discussion Thread [Manga] One Piece Movie Discussion!
Sports
2024 - 2026 Football Thread Formula 1 Discussion
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
TL+ Announced Where to ask questions and add stream?
Blogs
The (Hidden) Drug Problem in…
TrAiDoS
I decided to write a webnov…
DjKniteX
James Bond movies ranking - pa…
Topin
Thanks for the RSL
Hildegard
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1598 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
14:00
King of the Hill #234
SteadfastSC63
Liquipedia
WardiTV 2025
11:00
Playoffs
ShoWTimE vs CureLIVE!
WardiTV1848
ComeBackTV 1043
TaKeTV 544
IndyStarCraft 254
Rex145
LiquipediaDiscussion
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
Lowko506
IndyStarCraft 254
RotterdaM 231
Rex 145
Liquid`VortiX 93
SteadfastSC 63
BRAT_OK 32
MindelVK 18
DivinesiaTV 9
StarCraft: Brood War
Britney 24216
Calm 3299
Bisu 2161
Rain 1702
actioN 755
Horang2 703
Stork 517
Shuttle 324
Larva 154
firebathero 146
[ Show more ]
Mini 136
Hyun 133
Mind 80
Zeus 68
JYJ 63
Aegong 47
Killer 43
JulyZerg 32
Mong 30
Shinee 24
910 21
soO 19
GoRush 15
sorry 14
ajuk12(nOOB) 11
SilentControl 8
Sacsri 8
Dota 2
Gorgc6238
singsing4528
qojqva2938
LuMiX1
Super Smash Bros
Westballz19
Other Games
B2W.Neo1797
hiko506
FrodaN438
crisheroes379
KnowMe192
XaKoH 153
Trikslyr63
Chillindude40
Organizations
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 12 non-featured ]
StarCraft 2
• poizon28 24
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• Nemesis4094
Upcoming Events
Big Brain Bouts
7m
YoungYakov vs Jumy
TriGGeR vs Spirit
RotterdaM231
The PiG Daily
4h 7m
SHIN vs ByuN
Reynor vs Classic
TBD vs herO
Maru vs SHIN
TBD vs Classic
CranKy Ducklings
17h 7m
WardiTV 2025
18h 7m
Reynor vs MaxPax
SHIN vs TBD
Solar vs herO
Classic vs TBD
SC Evo League
19h 37m
Ladder Legends
1d 2h
BSL 21
1d 3h
Sziky vs Dewalt
eOnzErG vs Cross
Sparkling Tuna Cup
1d 17h
Ladder Legends
2 days
BSL 21
2 days
StRyKeR vs TBD
Bonyth vs TBD
[ Show More ]
Replay Cast
2 days
Wardi Open
2 days
Monday Night Weeklies
3 days
WardiTV Invitational
4 days
Replay Cast
5 days
WardiTV Invitational
5 days
ByuN vs Solar
Clem vs Classic
Cure vs herO
Reynor vs MaxPax
Liquipedia Results

Completed

Acropolis #4 - TS3
RSL Offline Finals
Kuram Kup

Ongoing

C-Race Season 1
IPSL Winter 2025-26
KCM Race Survival 2025 Season 4
YSL S2
BSL Season 21
Slon Tour Season 2
CSL Season 19: Qualifier 1
WardiTV 2025
META Madness #9
eXTREMESLAND 2025
SL Budapest Major 2025
ESL Impact League Season 8
BLAST Rivals Fall 2025
IEM Chengdu 2025
PGL Masters Bucharest 2025
Thunderpick World Champ.
CS Asia Championships 2025
ESL Pro League S22

Upcoming

CSL Season 19: Qualifier 2
CSL 2025 WINTER (S19)
BSL 21 Non-Korean Championship
Acropolis #4
IPSL Spring 2026
Bellum Gens Elite Stara Zagora 2026
HSC XXVIII
Big Gabe Cup #3
OSC Championship Season 13
ESL Pro League Season 23
PGL Cluj-Napoca 2026
IEM Kraków 2026
BLAST Bounty Winter 2026
BLAST Bounty Winter Qual
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 © 2025 TLnet. All Rights Reserved.