Welcome to Geeklog, Anonymous Tuesday, April 23 2024 @ 08:27 pm EDT

Geeklog Forums

Installation Blues...


martin_graney

Anonymous
Hi All

I seem to be having difficulty installing geeklog. At first it was my own fault. A typo. But now I am getting an error and I seem to have followed all the correct installation instructions. [I even checked my spelling!]

The error is as follows;

-------------------------------------
Warning: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (46) in /weblog/system/databases/mysql.class.php on line 104

Warning: MySQL Connection Failed: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (46) in /weblog/system/databases/mysql.class.php on line 104 Cannnot connect to DB server

-------------------------------------------

I know that my ISP disables some PHP functions [I also do not have CLI access!] and I am wondering if these omitted functions [such as fsockopen() and pfsockopen()] could be the cause.

Any clues?

thanx in advance.

Martin Graney
 Quote

Status: offline

FlightSimGuy

Forum User
Junior
Registered: 09/22/02
Posts: 18
Seems to me that either the MySQL server is down, or the mysql.sock file is missing. If the server is down, you can start it by typing this:
/etc/rc.d/init.d/mysqld start
..depending on your system's configuration, that may or may not start the daemon.

Also check if the sock file that its looking for is actually there. To do so, type this:
ls /tmp/mysql.sock
..if its there, it'll spit that filename back out to you. If it isn't, it'll say "no such file or directory." If you see the latter, you'll need to find it and create a symlink to it. To find it, type this:
locate mysql.sock
..and it'll spit out the files true location. Then type this to create a symlink:
ln -s /true/location /tmp/mysql.sock


..Hope this helps.

P.S. YOU HAVE TO BE ROOT TO DO ANY OF THIS. IF YOU'RE NOT, COMPLAIN TO WHOEVER IS.
 Quote

All times are EDT. The time is now 08:27 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content