Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have downloaded MYSQL without installer suppourt in my windows 64 bit machine . I have followed the guidelines mentioned in this website

http://dev.mysql.com/doc/refman/5.0/en/windows-install-archive.html

i have installed it inside c: mysql directory .

As first step i navigated to c:\mysql\bin>mysqld , as shown in picture below . This started the Database

enter image description here

Then i opened another command Prompt Window and navigated to c:\mysql\bin> and typed show databases;

With this it it showing an Error in Command Prompt saying

enter image description here

share|improve this question
    
You have to launch the mysql command line tool by typing mysql before you may type mysql commands. –  dystroy Jun 15 '12 at 15:13
    
First, cmd is not mysql console. Launch mysql command before executing any queries. Second, I believe this question is better suited for SuperUser or ServerFault. –  mingos Jun 15 '12 at 15:13
    
Thanks a lot , the document hasn't mentioned this thing i guess :) –  yyy i 777 Jun 15 '12 at 15:15
add comment

migrated from stackoverflow.com Jun 15 '12 at 15:20

This question came from our site for professional and enthusiast programmers.

2 Answers

From your second image enter mysql - then you're "in" mysql, and should do all your mysql operations there. The second image is "just a command prompt", not in mysql, so windows itself doesn't recognize such commands. Try a sql statement like 'SHOW STATUS' after entering the mysql application with mysql.

share|improve this answer
add comment

There's two parts, your MySQL Server and your MySQL Client.

mysqld command launches the MySQL Server.

You have to launch the MySQL Client to interact with your Server, with command line tool by typing mysql before you may type mysql commands.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.