Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Errors Installing with Xamp

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

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

Page: 1 2
Go to End
Author Topic: 5258 Views
  • Nate1
    Avatar
    Community Member
    4 Posts

    Errors Installing with Xamp Link to this post

    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,

  • Matt
    Avatar
    Core Development Team
    84 Posts

    Re: Errors Installing with Xamp Link to this post

    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.

  • Nate1
    Avatar
    Community Member
    4 Posts

    Re: Errors Installing with Xamp Link to this post

    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.

  • Nate1
    Avatar
    Community Member
    4 Posts

    Re: Errors Installing with Xamp Link to this post

    What Does the OBDC stand for?

  • Nate1
    Avatar
    Community Member
    4 Posts

    Re: Errors Installing with Xamp Link to this post

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

  • Andy
    Avatar
    230 Posts

    Re: Errors Installing with Xamp Link to this post

    Good to hear you got it going

  • Sigurd
    Avatar
    Forum Moderator
    628 Posts

    Re: Errors Installing with Xamp Link to this post

    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.

  • bigimaginations
    Avatar
    Community Member
    3 Posts

    Re: Errors Installing with Xamp Link to this post

    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

    5258 Views
Page: 1 2
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.