Error: #2002 - my.cnf causing my head to ache.
Ok, I'm back to Emu after an absence of about 1 year. I'm still on Linux, running FC2. I compiled, setup my db, my world is almost perfect.
Here is /etc/my.cnf: Code:
[client] Here is what zone gives me on startup. Code:
[Error] Failed to connect to database: Error: #2002: Can't connect to local MySQ |
in your my.cnf, replace /var/lib/mysql/mysql.sock by /tmp/mysql.sock
for the client and the mysqld options. /var/lib is the default option when you compile/install it yourself. it's easier to have it in /tmp since most softwares using mysql search it in /tmp . Once you modified your my.cnf, don't forget to kill and spawn again mysqld (mysql_safe... etc) |
I did try this. However, the result gets reversed. world becomes the one that complains about /var/lib/mysql/mysql.sock missing.
I know it's gotta be something stupid I'm overlooking. P.S. Wow, I've not seen Calimero since I was a kid...many moons ago! :) |
hmm what about doing a symlink
|
I was hoping to avoid doing a symlink, cause I wanted to figure out why it wasn't working right. But in the meantime, symlink does the job.
Thanks |
All times are GMT -4. The time now is 03:30 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.