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.

Archive

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

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

Errors Installing with Xamp


Go to End
Reply

10 Posts   5387 Views

Avatar
Nate1

16 February 2007 at 10:39am Community Member, 4 Posts

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

16 February 2007 at 11:13am (Last edited: 16 February 2007 11:14am), Core Development Team, 84 Posts

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

16 February 2007 at 11:19am Community Member, 4 Posts

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

16 February 2007 at 11:21am Community Member, 4 Posts

What Does the OBDC stand for?

Avatar
Nate1

16 February 2007 at 11:42am Community Member, 4 Posts

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
Andy

16 February 2007 at 11:53am 230 Posts

Good to hear you got it going :)

Avatar
Sigurd

16 February 2007 at 4:39pm Forum Moderator, 628 Posts

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

2 March 2007 at 1:48pm Community Member, 3 Posts

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

Go to Top