Welcome, Guest. Please Login or Register.
August 29, 2025, 10:27:28 AM
Home Help Search Log in Register
News: If you are still using YaBB SE, please consider upgrading to SMF as soon as possible.

YaBB SE Community  |  English User Help  |  English Help  |  Warning: Can't connect to local MySQL server through socket '/tmp/mysql.sock' « previous next »
Pages: [1] Reply Ignore Print
Author Topic: Warning: Can't connect to local MySQL server through socket '/tmp/mysql.sock'  (Read 1630 times)
abecker
Noobie
*
Posts: 1


I'm a llama!

Warning: Can't connect to local MySQL server through socket '/tmp/mysql.sock'
« on: April 13, 2002, 12:10:19 AM »
Reply with quote

I get the error

Warning: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)

on Step 4

Talked to admin and he told me everything but it still will not work!
Logged
mats
Full Member
***
Posts: 219


You have more company with a penguin than a window

Re:Warning: Can't connect to local MySQL server through socket '/tmp/mysql.soc
« Reply #1 on: April 15, 2002, 06:13:50 AM »
Reply with quote

It isnt enough to just have php and mysql.
Php have to be compiled with mysql.
Logged

Support Specialist Level 2  YaBBSP1.3.1
alexrolko
Guest
Re:Warning: Can't connect to local MySQL server through socket '/tmp/mysql.soc
« Reply #2 on: April 16, 2002, 02:02:47 AM »
Reply with quote

is there an actual server address that you may have to use? not just localhost?
Logged
mediman
Support Team
YaBB God
*****
Posts: 2858


WWW
Re:Warning: Can't connect to local MySQL server through socket '/tmp/mysql.soc
« Reply #3 on: April 16, 2002, 02:10:40 AM »
Reply with quote

you have to change the $db_server = "localhost"; in Settings to the correct path or IP! the error means that php (db_connect) can“t find the mysql.socks (/var/lib/mysql/mysql.sock)!

medi

Logged

mainComm Dev Team
Pages: [1] Reply Ignore Print 
YaBB SE Community  |  English User Help  |  English Help  |  Warning: Can't connect to local MySQL server through socket '/tmp/mysql.sock' « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.104 seconds with 20 queries.