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

Installation bug Version 2.0.0


Go to End


4 Posts   2865 Views

Avatar
Von-Hamster

Community Member, 1 Post

28 March 2007 at 9:27pm

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.

Avatar
keaven

Community Member, 4 Posts

29 March 2007 at 2:04am

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.

Avatar
ckim

Community Member, 18 Posts

29 March 2007 at 4:15am


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.

Avatar
Sigurd

Forum Moderator, 628 Posts

29 March 2007 at 8:13pm

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)