MySQL Forums
Forum List  »  Ruby

Posted by: Robert Weber
Date: August 18, 2009 09:18AM

RE: Platform="Windows Xp Pro Serv Pak 3"; Machine="Dell D830 Latitude"; Software="Ruby 1.8(26); MySQL 5.1(36); PHP 5.2(10) w.'mysqli' extension enabled; Apache/2.2.11 (Win32) installed over Port 8080; Aptana Studio 1.5(1) w.'Rad Rails' Module Installed; Valid MySQL connection established via Aptana Studio 'yes'

1.) In 'C:/Documents and Settings/user/My Documents/Aptana Studio Workspace/dev_project'
2.) Error Message Upon Initial 'Rake' attempting db:migrate
3.) rake aborted!
4.) Given: "The bundled mysql.rb driver has been removed from Rails 2.2. Please install the mysql gem and try again: gem install mysql"
5.) Done.
6.) 2nd attempt at initial 'Rake' ditto.
7.) See instructions for executing ./install.rb at
8.) Upon manual inspection of author comments for ruby-mysql-026 module, instructions do exist to copy the 'mysql.rb' file from the installation subdirectory ..ruby\ruby-mysql-0.2.6 to the Ruby installation path library.
9.) At the command line execute 'c:>ruby\ruby-mysql-0.2.6>ruby ./install.rb' to copy the 'mysql.rb' file to the Ruby installation path library.
10.) Done.
11.) Verify MySQL connection in Aptana Studio.
12.) Valid.
13.) 3rd attempt at initial 'Rake'
14.) File 'c:/ruby/lib/ruby/gems/1.8/gems/mysql-2.7.3-x86-mswin32/ext/' is no longer an issue for 'rake'
15.) Stop.
16.) Create new error message.
17.) New error message is similar to same when running the 'text.rb' from the command line prior to copying 'mysql.rb' to Ruby installation path Library above.
18.) Given: "Client does not support authentication protocol requested by server; consider upgrading MySQL client."
19.) Is this another MySQL ver 4.01 'prior' to MySQL ver 4.01 'after' dilemma?
20.) Do I need to force 'password' of MySQL 'root' user to accept previous (older) 16 bit hash column to alleviate this error message?
21.) Cannot 'rake' further via Aptana Studio until this dilemma is alleviated.
21.) Pls advise. Thx, Robert.

Options: ReplyQuote

Written By
August 18, 2009 09:18AM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.