[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-developers] Problem connecting MySQL to PHP
- Subject: Re: [cobalt-developers] Problem connecting MySQL to PHP
- From: Hendrik Runte <cobalt@xxxxxxxxxx>
- Date: Thu Mar 29 18:04:01 2001
- List-id: Discussion Forum for developers on Cobalt Networks products <cobalt-developers.list.cobalt.com>
> I lease a cobalt RAQ4 (at a web farm) which got hacked via BIND.
>
> The system has been rebuilt from scratch and didn't include MySQL.
> So I loaded the latest MySQL but now can't get PHP to talk to it.
> I'm running phpMyAdmin and I get the following message :
>
> Warning: MySQL Connection Failed: Can't connect to local MySQL server
> through socket '/tmp/mysql.sock' (111)
>
> According to the Cobalt knowledge base MySql has to be loaded first
> but the rebuilt system came with php 4.03 already loaded but no MySQL.
>
> How do I get the php to work with the MySQL ?
>
> Any help appreciated.
>
> Karl Middleton
> kmiddle@xxxxxxxxxxxxxxxxxxxxxxxxxx
>
> _______________________________________________
> cobalt-developers mailing list
> cobalt-developers@xxxxxxxxxxxxxxx
> http://list.cobalt.com/mailman/listinfo/cobalt-developers
>
Hi Karl,
I cannot recall similar problems, but may I ask if you can tell that mysqld
/ safe_mysqld is running?
Can you connect to mysql by telnet?
You can go for sure by recompiling php and mysql (few steps, quite easy &
you can upgrade to version 4.04pl1). Check the cobalt list archive. There
are several great how-tos. Check this, e.g, posted on cobalt-developers on
March 21st:
From: Karl Amry
Re: [cobalt-developers] How to install php4 on a raq 3 ?
HTH,
Hendrik.