An abstract from ljconfig.pl:
----------------------------------------
'sock' => "/var/run/mysqld/mysqld.sock",
'user' => 'lj',
'pass' => 'somepassword',
'role' => (
'cluster1' => 1,
),
----------------------------------------
and the error I get when I ran bin/upgrading/update-db.pl --runsql --populate :
----------------------------------------
Updating cluster: 0
cluster: status
0: ERROR: Can't connect to the database (clust#0), so I can't update it.
Can't call method "quote" on an undefined value at /home/lj/cgi-bin/ljlib.pl line 5714.
----------------------------------------
mysql is running correctly.
The socket is correct
The username and password are valid
The database 'livejournal' is there, with permission granted to lj.
Did not touch anything else in ljconfig.pl (yet) except for the database settings.
LJ code is from cvs dated 14 Oct 2004
Thanks for the help!