hi,
I am trying to use mysql instead of sqlite in RoR.(using Aptana Studio)
1) I added this line to the gem file
gem 'mysql2'
2)ran bundle install
3)made changes to the database.yml file
default: &default
adapter: mysql2
pool: 5
timeout: 5000
encoding: utf8
username: root
password: ******
host: 127.0.0.1
port: 3306
development:
<<: *default
database: rails_development
(has test and production also)
5) I type rails dbconsole / rails db on the terminal and get this error:
Couldn't find database client: mysql, mysql5, mysql.exe, mysql5.exe.
Check your $PATH and try again.
6) I added C:\Program Files\MySQL\MySQL Server 5.5\bin to the path
The error is still there.
What to do ?
--
Posted via
http://www.ruby-forum.com/.