Jump to:

4938 Posts in 16688 Topics by 1490 members

Installing SilverStripe

SilverStripe Forums » Installing SilverStripe » it wont install

Getting SilverStripe up and running on your computer and on your web server.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 1243 Views
  • pat242
    Avatar
    Community Member
    4 Posts

    it wont install Link to this post

    I've tried installing it twice but i get this error message each time:

    Installing SilverStripe...

    I am now running through the installation steps (this should take about 30 seconds)

    If you receive a fatal error, refresh this page to continue the installation

    * Creating 'mysite/_config.php'...
    * Creating /home/bari/public_html/mysite/_config.php
    * Creating '.htaccess' file...
    * Creating /home/bari/public_html/.htaccess
    * Building database schema...
    [Warning] mysql_connect() [function.mysql-connect]: Access denied for user 'bari_siluse'@'localhost' (using password: YES)
    POST //install.php

    Line 35 in /home/bari/public_html/sapphire/core/model/MySQLDatabase.php
    Source

    26    /**
    27     * Connect to a MySQL database.
    28     * @param array $parameters An map of parameters, which should include:
    29     * - server: The server, eg, localhost
    30     * - username: The username to log on with
    31     * - password: The password to log on with
    32     * - database: The database to connect to
    33     */
    34    public function __construct($parameters) {
    35       $this->dbConn = mysql_connect($parameters['server'], $parameters['username'], $parameters['password']);
    36       $this->active = mysql_select_db($parameters['database'], $this->dbConn);
    37       $this->database = $parameters['database'];
    38       if(!$this->dbConn) {
    39          $this->databaseError("Couldn't connect to MySQL database");
    40       }
    41

    Trace
    o mysql_connect(localhost,bari_siluse,arg)
    Line 35 of MySQLDatabase.php
    o MySQLDatabase->__construct(Array)
    Line 79 of DB.php
    o DB::connect(Array)
    Line 786 of install.php
    o Installer->install(Array)
    Line 123 of install.php

  • Devin
    Avatar
    Community Member
    9 Posts

    Re: it wont install Link to this post

    Hey Pat!

    I suppose this is a silly question - but you have already double checked that your database information is correct (1) and (2) your sql user has the correct permissions?

  • pat242
    Avatar
    Community Member
    4 Posts

    Re: it wont install Link to this post

    Part one of the set up said the database was ok:

    "MySQL Database
    These database details look all good! "

    what do you mean by this:

    "(2) your sql user has the correct permissions?"

    thanks

    1243 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.