June 16th, 2005

Stuck at connecting to MySQL

I am working on getting my own LiveJournal installed. I have a fresh Debian 3.1 box, and I got all the packages I need finally. (I think). I used the snapshot dated 20030825.

I got stuck dead in the water at this step:

bin/upgrading/update-db.pl --runsql --populate

Can't connect to the database (clust#0), so I can't update it.

I know MySQL is running and I can get status from it from mysql-admin tool. I think I have set up all the permissions etc. I've tried both port and socket method, with same result. I also tried for the hostname and it did not fix it.

I see others have had this problem and I did not see a resolution. Any advice? Please help!
  • Current Mood
    frustrated frustrated
Chris Zero


Grabbed new copies of the files from the changelog yesterday to enable tags support on my lj-clone site. Being that there's no documentation (that I'm aware of) for getting tags going, I'm running into a few problems.

On update.bml, the field to enter a tag is there, but is not labeled.

On manage/tags.bml, any time a query is performed, an empty JS box pops up and nothing is returned. Also, there are no labels as there are on the LJ manage/tags.bml.

I manually inserted the tags-specific table information from update-db-general. I wasn't able to login via cvs (kept timing out), so I grabbed each of these files from web-cvs, copied and pasted... so it is feasible that I've missed something.

That's it - everything else seems to be working correctly. I can add/modify tags, etc. I realize this is extremely new, but if anyone has any suggestions or expertise in getting this going correctly, I'd appreciate it.