Norman Posted July 11, 2007 Share Posted July 11, 2007 I've seen this word a lot of time.. and I have never understand what's its mean. Can you please help me? Link to comment Share on other sites More sharing options...
aspnetguy Posted July 11, 2007 Share Posted July 11, 2007 if you are using windows if you go to Start->Run and type "command" it will display a Commmand Prompt. It is just a window that lets you type Windows and DOS commands. Linux traditionally has been mostly command line (very little "point and click" like Windows) but there are some nice GUI Linux distros out there like Unbuntu. Link to comment Share on other sites More sharing options...
Norman Posted July 11, 2007 Author Share Posted July 11, 2007 Oh, ok. Is not like the cmd.exe?However, for example, in a CMS installation.. it say this: Test MySQL is installed and running by opening a command prompt and entering: 'mysql -u root -p'But when I do that, in the command.com, it say ""MYSQL" is not recognised like a internal or esternal command, like an executable program, or like a batch file". And I have MySQL installed with EasyPHP.. Link to comment Share on other sites More sharing options...
aspnetguy Posted July 11, 2007 Share Posted July 11, 2007 cmd and command are the same thing. Some of the "all-in-one" installations keep things seperate from the OS in it's own little bubble. That could be why you can't access it. JSAS was like that Link to comment Share on other sites More sharing options...
justsomeguy Posted July 11, 2007 Share Posted July 11, 2007 You need to switch to the MySQL folder before you run that command. Unless you have the MySQL folder in the path environment variable for Windows, you won't be able to automatically run the MySQL programs from any location, you need to change to the folder that contains the programs and then use the command. Link to comment Share on other sites More sharing options...
boen_robot Posted July 11, 2007 Share Posted July 11, 2007 Oh, ok. Is not like the cmd.exe?However, for example, in a CMS installation.. it say this:But when I do that, in the command.com, it say ""MYSQL" is not recognised like a internal or esternal command, like an executable program, or like a batch file". And I have MySQL installed with EasyPHP..The reason is that "mysql" actually points to the mysql executable file which might not be in that folder.type "cd path/to/the/EasyPHP/folder/that/contains/the/mysql/executable" before you do that command.You can enable it from any place (so that you don't need "cd") by placing the folder in which that executable is as part of the PATH environment variable. To do that, click on My Computer with the right mouse button and select "Properties". From the new window select the "Advanced" tab and click the "Environment Variables". On "System variables" find the one that says "Path" and "Edit" it. Add a ";path/to/the/EasyPHP/folder/that/contains/the/mysql/executable" at the end. the ";" is only used as a separator between paths.Oh and btw, it's actually the same as "cmd.exe". The only difference is that "cmd.exe" is... nicer. I'd advise you to use that instead of command.com.[edit]Ahhh!!! Crap! Half an hour I can't post a reply ONLY in this topic and now that reply is not even needed.[/edit] Link to comment Share on other sites More sharing options...
Norman Posted July 12, 2007 Author Share Posted July 12, 2007 Thank you guys. By chainging that setting as suggested by boen robot, it works. However now it ask me the mysql password.. and I don't have it! :)Where can I find it? Link to comment Share on other sites More sharing options...
boen_robot Posted July 12, 2007 Share Posted July 12, 2007 Thank you guys. By chainging that setting as suggested by boen robot, it works. However now it ask me the mysql password.. and I don't have it! :)Where can I find it?I think by default such packages ship MySQL without a password. If there is one, you'll need to look at EasyPHP's documentation for it. Link to comment Share on other sites More sharing options...
Norman Posted July 12, 2007 Author Share Posted July 12, 2007 Oh, I had to enter no passwords. I have only pressed Go. :)Thank you again! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.