How to install? Can't pass database settings
  • I'm kinda new to Newscoop and I want first of all to take it for a spin. II couldn't pass the first step of the install because 2 of the required functions wasn't activated on my shared hosting( yes, I am using shared), spoke with someone from the support, told me they quite vulnerable but enabled them for my acount and now I can't pass Database Settings.

    For the first time I clicked next I got a blank page and now if I try again, it asks me If I want to keep the current database or override it. If I choose to keep I still get blank screen on next and if I chose to change with a new database when I click next I get : Error: Database parameters invalid.
    Could not connect to database server.
    as I didn't keeped the first database too, and all my new imputted details change whith the old ones.

    Sorry, if that issue was posted before but now I'm kinda excited about this but in the same time, confused and a bit frustrated, a mixed bag of feelings.
    Post edited by cartonic at 2013-09-19 13:41:38
  • 1 Comment sorted by
  • I'm experiencing exactly the same issue:
    I've setup Newscoop on Centos 6.5 and managed to get the site up and running.

    At installation phase, when determining database connection, I try to specify remote machine via ip as the database host with correct credentials (I can access the mysql server from the installed Centos server just fine), but the installation keeps telling me that "Error: Database parameters invalid. Could not connect to database server.".

    At first I saw errors in my http log pointing towards timezone settings in my php.ini, but after fixing those, I'm still receiving the "Database parameters invalid" message at installation wizard. However, now I'm not getting any errors whatsoever in the http error_log.

    Can I somehow get newscoop to dump me the errors it is experiencing, while trying to setup the database?

    SOLVED
    Okay I finally figured it out. It was due SELinux, that was blocking script based mysql connections. Since this was purely my own dev server, I ran this command as root user:
    setsebool -P httpd_can_network_connect=1

    That made it fly for me.

    Post edited by Ville Leppänen at 2014-03-06 07:20:02