# newbie question about running mysql

**URL:** <https://discuss.rubyonrails.org/t/newbie-question-about-running-mysql/35308>\
**Category:** rubyonrails-talk\
**Created:** [October 13, 2008, 4:35am UTC](https://discuss.rubyonrails.org/t/newbie-question-about-running-mysql/35308 "2008-10-13T04:35:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Raheem](https://avatars.discourse-cdn.com/v4/letter/r/49beb7/32.png) [@Raheem](https://discuss.rubyonrails.org/u/Raheem)\
**Post date:** [October 13, 2008, 4:35am UTC](https://discuss.rubyonrails.org/t/newbie-question-about-running-mysql/35308/1 "2008-10-13T04:35:00Z")

</div>

Hello,

I am following the Agile Rails dev book and I like the command line format used to create example apps in the book. However, I am stuck on one point. How do I run mysql commands from the Rails prompt. I have a Win Xp sys. I can start rails from the command prompt. But if I type "mysql", I get an error saying it is not recognized as an internal or external command.

MySQL 5.0.51 is installed on my system and I can run it using a GUI but not from the command prompt. Any ideas how to get across this hurdle? TIA.

- Raheem

---

<div class="post-metadata">

**Author:** ![the69geeks](https://avatars.discourse-cdn.com/v4/letter/t/8edcca/32.png) [@the69geeks](https://discuss.rubyonrails.org/u/the69geeks)\
**Post date:** [October 13, 2008, 10:33am UTC](https://discuss.rubyonrails.org/t/newbie-question-about-running-mysql/35308/2 "2008-10-13T10:33:35Z")

</div>

type 'mysql' on cmd prompt and use '/?' for more...
