Mr. Blue (mr_blue) wrote in lj_everywhere,
Mr. Blue
mr_blue
lj_everywhere

update-db.pl populate woes

I'm trying to install the latest LJ snapshot on a debian server. Apache+Mod_Perl, MySQL install ran smoothly. Successfully created database and user as specified in the docs. Now I'm trying to populate the database, and I'm getting this:

> bin/upgrading/update-db.pl --runsql --populate
> Can't connect to the database (clust#0), so I can't update it.

I can log in to the database fine in mysql using the same user specified in ljconfig.pl

Here is the db portion of the config:

%DBINFO = (
'master' => {
'host' => "localhost",
'port' => 3306,
'user' => 'lj',
'pass' => 'somepass',
'role' => { 'cluster1' => 1, }, },);

Am I missing something?

Thanks.
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 

  • 9 comments