Page 1 of 1

mysql command prompt in Xampp ???

PostPosted: 19. December 2005 19:07
by JoanW
I want to learn how to work with databases via the command window. I am using the Xampp package and Apache & Mysql are running all the time.

Could and would someone tell me what it is I am not doing correctly? I tried accessing databases from \mysql and \mysql\bin. Following is from my cmd.exe window:

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\user>cd c:\program files\xampp\mysql\

C:\Program Files\xampp\mysql>cd c:\program files\xampp\mysql\bin

C:\Program Files\xampp\mysql\bin>show databases;
'show' is not recognized as an internal or external command,
operable program or batch file.

C:\Program Files\xampp\mysql\bin>cd c:\program files\xampp\mysql\

C:\Program Files\xampp\mysql>show databases;
'show' is not recognized as an internal or external command,
operable program or batch file.

C:\Program Files\xampp\mysql>

Before loading Xampp I was able to access databases. Have I forgotten something or is Xampp set up different? What? I would greatly appreciate instruction.

Thanks.
Joan

PostPosted: 19. December 2005 19:26
by Wiedmann

PostPosted: 19. December 2005 21:15
by cj_nza
JoanW

In all the entries you tried, you have only changed to a directory, but has not started the mySQL command line client.

Refer to your previous post on this subject:
http://community.apachefriends.org/f/viewtopi ... ght=#60606

PostPosted: 19. December 2005 23:33
by JoanW
Okay. Color me chagrined. I saved that answer (in November) in Notepad to have on hand should I forget... a lot of good saving it did since I forgot I saved it. And I reckon it is apparent that once I learned the first time, I had not been back. :roll:

I bet I remember now!!

Thank you! Again!!!
Joan

PostPosted: 28. December 2005 01:15
by fourbit
Joan,

"Color me chagrined." :lol:

Maybe, but I wanted to thank you and cj_nza. You helped me find the answer. :wink:


Thanks

PostPosted: 28. December 2005 01:35
by JoanW
:D Well, good!!!

Joan