By kagwo101 on
Hi there,
I am trying out drupal for the first time on my local computer, which runs kubuntu feisty.
I installed drupal 5.1 via adept, and there was an error brought up by debconf:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/myslqd/mysqld.sock'(2)
I've looked in /var/www but there nly appears to be apache files there at the moment.
Can anyone help me or suggest anything please?
I want to play around with drupal on localhost before using a pro webhost.
Thanks for your time,
Stuart
Comments
adept locked
hi again,
This seems to also have made my adept package manager lock up. It is now only able to work in read mode.
regards,
Stuart
edit: I've solved the adept being locked problem, by removing drupal. Apparently, there is an old version in the repositories.
I don't use kubuntu, but
I don't use kubuntu, but it's debian-based, right?
If adept put it in the same place as apt, then it's probably in /usr/share/drupal5. I'd try looking there.
As far as your mysql error, I did a quick lookup and apparently error 2002 is a permissions problem. Check /var/run/mysqld and see that it's owned and is readable by mysql as well as the files in that directory. Then make sure that mysqld is running under the user mysql. You might trying restarting your mysql server as well (on debian it's
/etc/init.d/mysql restart, as root of course).mysqld stopped
It seems to me that your mysql server isn't running at all.
Try to connect to mysqld form shell (mysql -u yourusename -p). If you get same error, your mysql server isn't running
---
Drupal Theme Garden