#2 pyflag doesn't create database

open
nobody
5
2009-04-07
2009-04-07
Anonymous
No

I installed pyflag from darcs. I compiled it, and installed it. When I'm in the main configuration page of pyflag I'm not able to create database neither in the local mysql (through socket) nor in the remothe one (via TCP/IP). The only thing I see is a populaed TestTable. pyflag logs as "root" in the mysql, password is correct and it has every single grant on the database. How wrong?

Andrea

Discussion

  • Michael Cohen
    Michael Cohen
    2009-04-07

    Andrea,
    First make sure that you are using the correct darcs repository at http://www.pyflag.net/pyflag/

    After installing and runnig pyflag it should tell you that it cant connect to the default db. This is fine as its not configured yet - you should point your browser at it (http://localhost:8000) and it will ask you to configure your db passwords etc and then it should create a new main db. You might need to restart the server (ctrl-c to break the old one) after reconfiguring it.

    If this does not help you should specify "pyflag --log_level 20 --logfile /tmp/error.log" and attach it.

    Michael.