# Newbie question about running mysql

**URL:** <https://www.ruby-forum.com/t/newbie-question-about-running-mysql/150783>\
**Category:** Rails\
**Created:** [October 13, 2008, 9:35am UTC](https://www.ruby-forum.com/t/newbie-question-about-running-mysql/150783 "2008-10-13T09:35:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Raheem](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/49beb7/32.png) [@Raheem](https://www.ruby-forum.com/u/Raheem)\
**Post date:** [October 13, 2008, 9:35am UTC](https://www.ruby-forum.com/t/newbie-question-about-running-mysql/150783/1 "2008-10-13T09:35:22Z")

</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:** ![Raheem](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/49beb7/32.png) [@Raheem](https://www.ruby-forum.com/u/Raheem)\
**Post date:** [October 13, 2008, 12:34pm UTC](https://www.ruby-forum.com/t/newbie-question-about-running-mysql/150783/2 "2008-10-13T12:34:27Z")

</div>

type ‘mysql’ on cmd prompt and use ‘/?’ for more…
