How can I access mysql database command line? I enter the following line at the command line, a dos windows opens and asks for a password, I enter a password and the windows suddenly close without giving me the time to read the message. .
Type "cmd" instead of the line above. That will open a DOS window that won't close when the program exits. Then use the comand above. However, if the DOS window is closing it means the program exits which means you couldn't access the server, maybe because its not running, maybe because your password was wrong.