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

Errors Installing with Xamp


Go to End


9 Posts   7058 Views

Avatar
Nate1

Community Member, 4 Posts

16 February 2007 at 10:39am

Can Someone Help Me Figure Out How to Get SilverStript going

Warning: mysql_get_server_info() [function.mysql-get-server-info]: Access denied for user 'ODBC'@'localhost' (using password: NO) in C:\Program Files\xampp\htdocs\silverstripe\install.php on line 77

Warning: mysql_get_server_info() [function.mysql-get-server-info]: A link to the server could not be established in C:\Program Files\xampp\htdocs\silverstripe\install.php on line 77

And I did have An Error on the INstall.php ln 354 but I Mad ethe Function always Return true,

Avatar
Matt

Community Member, 86 Posts

16 February 2007 at 11:13am

Edited: 16/02/2007 11:14am

Hi Nate,

To fix the problem, just fill out the Database Details form with the right username and password.

The problem is that the mysql_get_server_info() function needs a valid connection to the database. If it can't find it, it attempts to create a connection with the default username and no password.

Avatar
Nate1

Community Member, 4 Posts

16 February 2007 at 11:19am

Hmmm I thought I had It says the database details are all good

On The SIlverStripe Installer:
MySQL server: localhost
MySQL username: root
MySQL password:
MySQL database: nath

And From PHPmyadmin DB Nath

root localhost global ALL PRIVILEGES Yes

I Havn't got a password on the dB could that be the problem?

And Also this Line at the Bottom of the Screen.
mod_rewrite enabled You need mod_rewrite to run SilverStripe CMS.

Avatar
Nate1

Community Member, 4 Posts

16 February 2007 at 11:21am

What Does the OBDC stand for?

Avatar
Nate1

Community Member, 4 Posts

16 February 2007 at 11:42am

Ok Enabled mod_rewrite in Apcahe Conf file, and gave the Root user a password now it runs, and also extended the memory limit.

Avatar
Sigurd

Forum Moderator, 628 Posts

16 February 2007 at 4:39pm

ODBC? http://en.wikipedia.org/wiki/ODBC

Its basically a "compatible" protocol to talk to databases, but you shouldn't need to use this with SilverStripe. You can, for example, use this to get PHP to talk to almost any database (e.g. Access), but in my experience its not something you can constitute as reliable.

Avatar
bigimaginations

Community Member, 3 Posts

2 March 2007 at 1:48pm

I had this same exact problem.

First, how do you change the mod_rewrite in xampp?

Second, how do you extended the memory limit?

thanks

Avatar
Marcus

Administrator, 89 Posts

4 March 2007 at 1:30am

In php.ini there'll be a property called "memory_limit = 8M" or similar. Or, try "ini_set('memory_limit', '8M')" at the top of sapphire/main.php.

Go to Top