• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 22:42
CET 03:42
KST 11:42
  • 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
[ASL20] Finals Preview: Arrival13TL.net Map Contest #21: Voting10[ASL20] Ro4 Preview: Descent11Team TLMC #5: Winners Announced!3[ASL20] Ro8 Preview Pt2: Holding On9
Community News
2025 RSL Offline Finals Dates + Ticket Sales!9BSL21 Open Qualifiers Week & CONFIRM PARTICIPATION1Crank Gathers Season 2: SC II Pro Teams9Merivale 8 Open - LAN - Stellar Fest3Chinese SC2 server to reopen; live all-star event in Hangzhou23
StarCraft 2
General
Could we add "Avoid Matchup" Feature for rankgame RotterdaM "Serral is the GOAT, and it's not close" The New Patch Killed Mech! Chinese SC2 server to reopen; live all-star event in Hangzhou Weekly Cups (Oct 13-19): Clem Goes for Four
Tourneys
Crank Gathers Season 2: SC II Pro Teams 2025 RSL Offline Finals Dates + Ticket Sales! Merivale 8 Open - LAN - Stellar Fest $5,000+ WardiTV 2025 Championship $3,500 WardiTV Korean Royale S4
Strategy
Custom Maps
Map Editor closed ?
External Content
Mutation # 497 Battle Haredened Mutation # 496 Endless Infection Mutation # 495 Rest In Peace Mutation # 494 Unstable Environment
Brood War
General
BW General Discussion [ASL20] Ask the mapmakers — Drop your questions BSL Team A vs Koreans - Sat-Sun 16:00 CET [ASL20] Finals Preview: Arrival BSL Season 21
Tourneys
[ASL20] Grand Finals The Casual Games of the Week Thread BSL21 Open Qualifiers Week & CONFIRM PARTICIPATION ASL final tickets help
Strategy
How to stay on top of macro? PvZ map balance Soma's 9 hatch build from ASL Game 2 Current Meta
Other Games
General Games
General RTS Discussion Thread Stormgate/Frost Giant Megathread Path of Exile Nintendo Switch Thread Dawn of War IV
Dota 2
Official 'what is Dota anymore' discussion LiquidDota to reintegrate into TL.net
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
TL Mafia Community Thread SPIRED by.ASL Mafia {211640}
Community
General
Russo-Ukrainian War Thread Things Aren’t Peaceful in Palestine US Politics Mega-thread YouTube Thread The Chess Thread
Fan Clubs
White-Ra Fan Club The herO Fan Club!
Media & Entertainment
Movie Discussion! Anime Discussion Thread [Manga] One Piece Korean Music Discussion Series you have seen recently...
Sports
MLB/Baseball 2023 2024 - 2026 Football Thread Formula 1 Discussion TeamLiquid Health and Fitness Initiative For 2023 NBA General Discussion
World Cup 2022
Tech Support
SC2 Client Relocalization [Change SC2 Language] Linksys AE2500 USB WIFI keeps disconnecting Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List Recent Gifted Posts
Blogs
LMAO (controversial!!)
Peanutsc
The Benefits Of Limited Comm…
TrAiDoS
Our Last Hope in th…
KrillinFromwales
Certified Crazy
Hildegard
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1447 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
BSL 21
01:00
Open Quali #2
ZZZero.O56
LiquipediaDiscussion
PiGosaur Monday
00:00
$400 PiGosaur #55
PiGStarcraft533
rockletztv 25
Liquipedia
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
PiGStarcraft533
RuFF_SC2 129
Nathanias 116
NeuroSwarm 107
Nina 72
CosmosSc2 32
StarCraft: Brood War
Artosis 505
scan(afreeca) 113
Sharp 104
Bale 81
ZZZero.O 56
NaDa 49
Dota 2
monkeys_forever520
PGG 221
XaKoH 114
League of Legends
JimRising 589
Super Smash Bros
C9.Mang0721
hungrybox545
Other Games
summit1g11786
shahzam724
Skadoodle199
ViBE160
Maynarde136
Models1
Organizations
Other Games
gamesdonequick1058
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 15 non-featured ]
StarCraft 2
• davetesta16
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• HerbMon 29
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• Doublelift3886
• Stunt113
Other Games
• Scarra608
Upcoming Events
Replay Cast
7h 18m
BASILISK vs Shopify Rebellion
Team Liquid vs Team Falcon
OSC
9h 18m
CrankTV Team League
10h 18m
Shopify Rebellion vs Team Liquid
BASILISK vs Team Falcon
Replay Cast
20h 18m
The PondCast
1d 6h
CrankTV Team League
1d 10h
Replay Cast
2 days
WardiTV Invitational
2 days
MaNa vs Gerald
Rogue vs GuMiho
ByuN vs Spirit
herO vs Solar
CrankTV Team League
2 days
Replay Cast
3 days
[ Show More ]
BSL Team A[vengers]
3 days
Dewalt vs Shine
UltrA vs ZeLoT
BSL 21
3 days
Sparkling Tuna Cup
4 days
BSL Team A[vengers]
4 days
Cross vs Motive
Sziky vs HiyA
BSL 21
4 days
Wardi Open
5 days
Monday Night Weeklies
5 days
Liquipedia Results

Completed

CSL 2025 AUTUMN (S18)
WardiTV TLMC #15
Eternal Conflict S1

Ongoing

BSL 21 Points
BSL 21 Team A
C-Race Season 1
IPSL Winter 2025-26
KCM Race Survival 2025 Season 4
SOOP Univ League 2025
CranK Gathers Season 2: SC II Pro Teams
PGL Masters Bucharest 2025
Thunderpick World Champ.
CS Asia Championships 2025
ESL Pro League S22
StarSeries Fall 2025
FISSURE Playground #2
BLAST Open Fall 2025
BLAST Open Fall Qual
Esports World Cup 2025
BLAST Bounty Fall 2025

Upcoming

SC4ALL: Brood War
YSL S2
BSL Season 21
SLON Tour Season 2
BSL 21 Non-Korean Championship
RSL Offline Finals
WardiTV 2025
RSL Revival: Season 3
Stellar Fest
SC4ALL: StarCraft II
META Madness #9
eXTREMESLAND 2025
ESL Impact League Season 8
SL Budapest Major 2025
BLAST Rivals Fall 2025
IEM Chengdu 2025
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.