bhakti_thakkar
02-02-2007, 11:28 AM
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
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