xieliwei (xieliwei) wrote in lj_everywhere,
xieliwei
xieliwei
lj_everywhere

Okay, I'm back with Debian now. I'm now getting a problem setting up the database.

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!
Subscribe
  • Post a new comment

    Error

    Comments allowed for members only

    Anonymous comments are disabled in this journal

    default userpic

    Your IP address will be recorded 

  • 4 comments