mjohnson24-Wuw85uim5zDR7s880joybQ@public.gmane.org
2007-Dec-03 06:25 UTC
install and mysql issues
this is the versions i have installed: Microsoft Windows XP [Version 5.1.2600] (C) Copyright 1985-2001 Microsoft Corp. C:\Documents and Settings\Mark Johnson>ruby -v ruby 1.8.6 (2007-03-13 patchlevel 0) [i386-mswin32] C:\Documents and Settings\Mark Johnson>rails -v Rails 1.2.6 C:\Documents and Settings\Mark Johnson>mysql -v ERROR 1045 (28000): Access denied for user ''ODBC''@''localhost'' (using password: N O) C:\Documents and Settings\Mark Johnson>mysqladmin -v mysqladmin Ver 8.41 Distrib 5.0.45, for Win32 on ia32 Copyright (C) 2000-2006 MySQL AB Default options are read from the following files in the given order: C:\my.ini C:\my.cnf C:\WINDOWS\my.ini C:\WINDOWS\my.cnf C:\Program Files\MySQL\M ySQL Server 5.0\my.ini C:\Program Files\MySQL\MySQL Server 5.0\my.cnf I have followed the tutorial videos on lynda.com for the music_library video tutorial and i created a database with mysql that i downloaded seperately from the mysql website. I created a music_library and created the work folder and rails app. I created the database in mysql called music_library_development and a few tables inside that database. but when i run rake db:migrate i get the following: C:\Documents and Settings\Mark Johnson>cd c:\Sites\music_library C:\Sites\music_library>rake db:migrate (in C:/Sites/music_library) rake aborted! Unknown database ''music_library_development'' (See full trace by running task with --trace) C:\Sites\music_library> I have no idea what im really doing as i have never programmed or anything. The only languages i know are HTML and CSS so ruby on rails is a completely new thing for me. I am running a PC with Windows XP. Can someone please help me! Please! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Try entering your database configuration details in file: database.yml within your Ruby on Rails project. Regards. Walter. On Dec 3, 6:25 am, "mjohnso...-Wuw85uim5zDR7s880joybQ@public.gmane.org" <mjohnso...-Wuw85uim5zDR7s880joybQ@public.gmane.org> wrote:> this is the versions i have installed: > > Microsoft Windows XP [Version 5.1.2600] > (C) Copyright 1985-2001 Microsoft Corp. > > C:\Documents and Settings\Mark Johnson>ruby -v > ruby 1.8.6 (2007-03-13 patchlevel 0) [i386-mswin32] > > C:\Documents and Settings\Mark Johnson>rails -v > Rails 1.2.6 > > C:\Documents and Settings\Mark Johnson>mysql -v > ERROR 1045 (28000): Access denied for user ''ODBC''@''localhost'' (using > password: N > O) > C:\Documents and Settings\Mark Johnson>mysqladmin -v > mysqladmin Ver 8.41 Distrib 5.0.45, for Win32 on ia32 > Copyright (C) 2000-2006 MySQL AB > Default options are read from the following files in the given order: > C:\my.ini C:\my.cnf C:\WINDOWS\my.ini C:\WINDOWS\my.cnf C:\Program > Files\MySQL\M > ySQL Server 5.0\my.ini C:\Program Files\MySQL\MySQL Server 5.0\my.cnf > > I have followed the tutorial videos on lynda.com for the music_library > video tutorial and i created a database with mysql that i downloaded > seperately from the mysql website. I created a music_library and > created the work folder and rails app. I created the database in mysql > called music_library_development and a few tables inside that > database. but when i run rake db:migrate i get the following: > > C:\Documents and Settings\Mark Johnson>cd c:\Sites\music_library > > C:\Sites\music_library>rake db:migrate > (in C:/Sites/music_library) > rake aborted! > Unknown database ''music_library_development'' > > (See full trace by running task with --trace) > > C:\Sites\music_library> > > I have no idea what im really doing as i have never programmed or > anything. The only languages i know are HTML and CSS so ruby on rails > is a completely new thing for me. I am running a PC with Windows XP. > Can someone please help me! Please!--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---