Drupal is a fun portal to work with once it is working, but I must say
it's one of the more unpleasant applications to install. I end up learning
a lot anytime I try to install it, but I'd much rather it just work.
I have Drupal, Apache and MySQL on the same machine. When I try to hit it
with a broswer I get the following message.
Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (13)
I've attempted many, many suggestions from the forum and nothing is helping. Here's
what I have going, any help is appreciated
=== I'm running...
Redhat Fedora Core 3
drupal 4.5.1
apache 2.0.52
mysql 3.23.58
php 4.3.9
php-mysql 4.3.9
=== In includes/conf.php...
$db_url = "mysql://nobody:drupal@localhost/drupal";
$base_url = "http://name.omitted.org/drupal";
=== /var/log/httpd/error_log contains...
[client 192.168.16.117] PHP Warning: mysql_connect(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (13) in /var/www/html/drupal/includes/database.mysql.inc on line 31, referer: http://name.omitted.org/
=== Here's my mysql socket
[root@jeeves drupal]# ls -l /var/lib/mysql/mysql.sock
srwxrwxrwx 1 mysql mysql 0 Dec 28 14:56 /var/lib/mysql/mysql.sock
=== I can successfully connect to the database with the
=== username/password specified in $db_url ...
[root@jeeves drupal]# mysql -u nobody -p drupal