Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Installation bug Version 2.0.0

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: 2181 Views
  • Von-Hamster
    Avatar
    Community Member
    1 Post

    Installation bug Version 2.0.0 Link to this post

    Location: Install.php
    String: 77
    Description: connection after use function mysql_get_server_info()
    Errors: -------------------
    Warning: mysql_get_server_info() [function.mysql-get-server-info]: Access denied for user 'ODBC'@'localhost' (using password: NO) in Z:\home\ss.ru\www\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 Z:\home\ss.ru\www\install.php on line 77
    Warning: mysql_get_server_info() [function.mysql-get-server-info]: Access denied for user 'ODBC'@'localhost' (using password: NO) in Z:\home\ss.ru\www\install.php on line 354
    Warning: mysql_get_server_info() [function.mysql-get-server-info]: A link to the server could not be established in Z:\home\ss.ru\www\install.php on line 354
    -----------------------------
    Patch: Change 77 and 78-79 strings.

  • keaven
    Avatar
    Community Member
    4 Posts

    Re: Installation bug Version 2.0.0 Link to this post

    I had that same problem. I commented out the part where it checks the MySQL version, and then it installed without a problem.

    Make sure that you actually have a compatible version before you do that though. I have one, it just wasn't detecting it properly. If you're sure you have a good version, then comment out that function call and you'll be good to go.

  • ckim
    Avatar
    Community Member
    18 Posts

    Re: Installation bug Version 2.0.0 Link to this post

    It turns out if you allowed www-data user with at least select, it can query and find the right version.

    goto mysql admin, grant select for www-data on localhost.

  • Sigurd
    Avatar
    Forum Moderator
    628 Posts

    Re: Installation bug Version 2.0.0 Link to this post

    also, the beta2.0.1 should detect your mysql fine (and in fact, it would be helpful if people can check this, so that we nail that database check problem once and for all)

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