[Techtalk] Cannot get LAMP mysql or php to start

Wim De Smet kromagg at gmail.com
Thu Jan 14 08:29:43 UTC 2010


Hi,

On Wed, Jan 13, 2010 at 1:15 PM, Leslie MacDougall <lesmacdee at gmail.com> wrote:
> I have LAMP installed, but cannot get either mysql or php to start.
> I also installed TweetDeck and could not get it to run either. Apache
> is running just fine.

Tweetdeck lives on top of adobe air it seems, so I assume that's a
different problem entirely.

> I installed using command line, not gui, but a check on Synaptic
> Package Manager says that these programs are definitely installed.

can you check to make sure:
apt-cache policy mysql-server
apt-cache policy mysql-server-5.0
dpkg -L mysql-server-5.0 | ls -d >/dev/null (will complain only if any
of the files are missing on the file system)

These should be the default packages for mysql-server-5.0 in 9.04 I can see.

> I got this:
> An error seems to have occurred while installing the database. If it's
> of any help,
> this was the error encountered:
> ERROR 2002 (HY000): Can't connect to local MySQL server through socket
>  '/var/run/mysqld/mysqld.sock' (2)

When was this reported to you, during configuration?

> Has anyone come across this problem? I have asked a couple of
> experienced Linux users and they say it is "odd"

I agree with them. :)

regards,
Wim


More information about the Techtalk mailing list