• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 06:43
CEST 12:43
KST 19:43
  • 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
BGE Stara Zagora 2025: Info & Preview27Code S RO12 Preview: GuMiho, Bunny, SHIN, ByuN3The Memories We Share - Facing the Final(?) GSL46Code S RO12 Preview: Cure, Zoun, Solar, Creator4[ASL19] Finals Preview: Daunting Task30
Community News
[BSL20] ProLeague: Bracket Stage & Dates8GSL Ro4 and Finals moved to Sunday June 15th12Weekly Cups (May 27-June 1): ByuN goes back-to-back0EWC 2025 Regional Qualifier Results26Code S RO12 Results + RO8 Groups (2025 Season 2)3
StarCraft 2
General
BGE Stara Zagora 2025: Info & Preview The SCII GOAT: A statistical Evaluation Magnus Carlsen and Fabi review Clem's chess game. Jim claims he and Firefly were involved in match-fixing GSL Ro4 and Finals moved to Sunday June 15th
Tourneys
Bellum Gens Elite: Stara Zagora 2025 Sparkling Tuna Cup - Weekly Open Tournament SOOPer7s Showmatches 2025 Master Swan Open (Global Bronze-Master 2) $5,100+ SEL Season 2 Championship (SC: Evo)
Strategy
[G] Darkgrid Layout Simple Questions Simple Answers [G] PvT Cheese: 13 Gate Proxy Robo
Custom Maps
[UMS] Zillion Zerglings
External Content
Mutation # 476 Charnel House Mutation # 475 Hard Target Mutation # 474 Futile Resistance Mutation # 473 Cold is the Void
Brood War
General
BW General Discussion Will foreigners ever be able to challenge Koreans? [BSL20] ProLeague: Bracket Stage & Dates BGH auto balance -> http://bghmmr.eu/ I made an ASL quiz
Tourneys
[ASL19] Grand Finals [Megathread] Daily Proleagues [BSL20] ProLeague Bracket Stage - Day 2 [BSL20] ProLeague Bracket Stage - Day 1
Strategy
I am doing this better than progamers do. [G] How to get started on ladder as a new Z player
Other Games
General Games
Stormgate/Frost Giant Megathread What do you want from future RTS games? Path of Exile Nintendo Switch Thread Mechabellum
Dota 2
Official 'what is Dota anymore' discussion
League of Legends
LiquidLegends to reintegrate into TL.net
Heroes of the Storm
Heroes of the Storm 2.0 Simple Questions, Simple Answers
Hearthstone
Heroes of StarCraft mini-set
TL Mafia
TL Mafia Community Thread Vanilla Mini Mafia
Community
General
US Politics Mega-thread Things Aren’t Peaceful in Palestine Russo-Ukrainian War Thread Vape Nation Thread European Politico-economics QA Mega-thread
Fan Clubs
Maru Fan Club Serral Fan Club
Media & Entertainment
Korean Music Discussion [Manga] One Piece
Sports
2024 - 2025 Football Thread Formula 1 Discussion NHL Playoffs 2024
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread Cleaning My Mechanical Keyboard
TL Community
The Automated Ban List
Blogs
Cognitive styles x game perf…
TrAiDoS
StarCraft improvement
iopq
Heero Yuy & the Tax…
KrillinFromwales
I was completely wrong ab…
jameswatts
Need Your Help/Advice
Glider
Trip to the Zoo
micronesia
Poker
Nebuchad
Customize Sidebar...

Website Feedback

Closed Threads



Active: 24574 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
Sparkling Tuna Cup
10:00
Weekly #93
CranKy Ducklings124
LiquipediaDiscussion
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
BRAT_OK 82
ProTech80
EnDerr 47
Hui .43
MindelVK 26
StarCraft: Brood War
Sea 9529
Horang2 2635
Hyuk 1391
Shuttle 1311
EffOrt 750
Rain 514
Jaedong 511
Bisu 497
Mini 462
actioN 308
[ Show more ]
Hyun 182
TY 146
Last 145
firebathero 116
Killer 109
[sc1f]eonzerg 74
Pusan 73
Mind 69
ggaemo 57
Rush 45
Aegong 28
sorry 26
NaDa 21
Barracks 19
Sharp 18
Sacsri 16
Free 15
Dewaltoss 11
sSak 11
ivOry 9
JulyZerg 6
Dota 2
XcaliburYe610
XaKoH 389
Fuzer 314
Counter-Strike
Stewie2K1360
x6flipin472
Heroes of the Storm
Khaldor292
Other Games
singsing2130
DeMusliM140
crisheroes115
SC2_NightMare1
Organizations
Dota 2
PGL Dota 2 - Main Stream7932
StarCraft: Brood War
UltimateBattle 30
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 13 non-featured ]
StarCraft 2
• LUISG 40
• Adnapsc2 6
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• Stunt602
Upcoming Events
AllThingsProtoss
17m
Fire Grow Cup
4h 17m
BSL: ProLeague
7h 17m
HBO vs Doodle
spx vs Tech
DragOn vs Hawk
Dewalt vs TerrOr
Replay Cast
13h 17m
Replay Cast
1d 13h
Replay Cast
1d 23h
WardiTV Invitational
2 days
WardiTV Invitational
2 days
GSL Code S
2 days
Rogue vs GuMiho
Maru vs Solar
Replay Cast
3 days
[ Show More ]
GSL Code S
3 days
herO vs TBD
Classic vs TBD
The PondCast
3 days
Replay Cast
4 days
WardiTV Invitational
5 days
Korean StarCraft League
5 days
CranKy Ducklings
5 days
WardiTV Invitational
6 days
Cheesadelphia
6 days
Cheesadelphia
6 days
GSL Code S
6 days
Sparkling Tuna Cup
6 days
Liquipedia Results

Completed

CSL Season 17: Qualifier 1
BGE Stara Zagora 2025
Heroes 10 EU

Ongoing

JPL Season 2
BSL 2v2 Season 3
BSL Season 20
KCM Race Survival 2025 Season 2
NPSL S3
Rose Open S1
CSL Season 17: Qualifier 2
2025 GSL S2
BLAST.tv Austin Major 2025
ESL Impact League Season 7
IEM Dallas 2025
PGL Astana 2025
Asian Champions League '25
ECL Season 49: Europe
BLAST Rivals Spring 2025
MESA Nomadic Masters
CCT Season 2 Global Finals
IEM Melbourne 2025
YaLLa Compass Qatar 2025
PGL Bucharest 2025
BLAST Open Spring 2025

Upcoming

CSL 17: 2025 SUMMER
Copa Latinoamericana 4
CSLPRO Last Chance 2025
CSLPRO Chat StarLAN 3
K-Championship
SEL Season 2 Championship
Esports World Cup 2025
HSC XXVII
Championship of Russia 2025
Murky Cup #2
Esports World Cup 2025
BLAST Bounty Fall 2025
BLAST Bounty Fall Qual
IEM Cologne 2025
FISSURE Playground #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 © 2025 TLnet. All Rights Reserved.