View Single Post
Old 07-08-2007, 03:35 PM   PM User | #3
Janet Kellman
New to the CF scene

 
Join Date: Jul 2007
Location: USA
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Janet Kellman is an unknown quantity at this point
Quote:
Originally Posted by bhakti_thakkar View Post
hi all ,
till now i was using mysql with apache and php. all is perfectly fine.but now i have started with ruby [just a day old in ruby on rails] and i am stuck up connecting to mysql rather even starting mysql using webrick.i jst dont know how to proceed....mysql 5.0 is installed on another LINUX machine and i even changed the localhost to the IP address of LINUX machine in database.yml file but still when on the command prompt i type the following i get mysql not recognized:
////////////////////////////////////

depot>mysql -u root -p

///////////////////////////////
Settings in database.yml file
development:
adapter: mysql
database: depot_development
username: root
password:
host: LINUX IP ADDRESS

Any help most appreciated. badly stuck. i had even posted the same in mysql section of this forum but i think i shuld have posted here as i think i am failing with some ruby/ rails settings.Please help
Thanks in advance
mysql not recognized because it's installed on another server.
example of using mysql at ruby wrote softsea, anyway use right host in my = Mysql::new
Janet Kellman is offline   Reply With Quote