Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Archive /

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

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

n00b alert


Go to End


2 Posts   1582 Views

Avatar
n00b1

1 Post

3 August 2007 at 10:22am

Upon opening the cms on my machine.

This is the silverstripe 2.0.2 download, and I dont have a clue what I have done wrong!

Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'ODBC'@'localhost' (using password: NO) in C:\lighttpd\htdocs\sapphire\core\model\MySQLDatabase.php on line 21

Warning: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in C:\lighttpd\htdocs\sapphire\core\model\MySQLDatabase.php on line 22

Fatal error: DATABASE ERROR: Could connect to MySQL database in C:\lighttpd\htdocs\sapphire\core\model\Database.php on line 186

Any hekp would be appreciated :)

Avatar
gakenny

Community Member, 153 Posts

3 August 2007 at 1:26pm

Hi,

I haven't tried installing this in the Windows environment but it looks like an authentication error when you are connecting to MySQL. Have you supplied the correct authentication information to the installation script?

Cheers,

Gary