Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » installation problem

Our old forums are still available as a read-only archive.

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

Page: 1
Go to End
Author Topic: 2125 Views
  • michi
    Avatar
    Community Member
    8 Posts

    installation problem Link to this post

    hi,
    ive uploaded the files to a ftp server and tried to install but got the following failure:

    Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'root'@'localhost' (using password: NO) in /data/home/m1204/rr-r/htdocs/sapphire/core/model/MySQLDatabase.php on line 39

    Warning: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in /data/home/m1204/rr-r/htdocs/sapphire/core/model/MySQLDatabase.php on line 40

    Fatal error: DATABASE ERROR: Couldn't connect to MySQL database in /data/home/m1204/rr-r/htdocs/sapphire/core/model/Database.php on line 397

    the file are not modified after installation on local machine ...

    so can anyone help me with this?

    michi

  • Fuzz10
    Avatar
    Community Member
    787 Posts

    Re: installation problem Link to this post

    Seems your database settings are wrong.

    Check the path and credentials for the mysql database. Looks like you just uploaded your local-config (root with no password).

  • michi
    Avatar
    Community Member
    8 Posts

    Re: installation problem Link to this post

    thats it. i just uploaded the files.

    but what shall i change?

    i just started with ss a few days ago over google code so im still noob...

  • Tobbe
    Avatar
    Community Member
    25 Posts

    Re: installation problem Link to this post

    Try downloading the PHP based installer (silverstripe-v2.2.0.tar.gz) and upload it to the webserver (do not install on local machine first) and then it will ask you for your mysql settings.

    You could probably change the mysite/_config.php to the correct setting too, but then you have to copy the database manually to your server too.

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