MySQL Command Line Client Closes After Entering Password

Problems with the Windows version of XAMPP, questions, comments, and anything related.

MySQL Command Line Client Closes After Entering Password

Postby 38175425 » 29. June 2021 17:23

In "services", you can see that "mysql" is running("執行中" is "running" in Chinese)
Image

But my MySQL Commnad line client still closes when I enter password
38175425
 
Posts: 19
Joined: 19. April 2021 08:12
XAMPP version: 3.2.4
Operating System: Apache HTTP

Re: MySQL Command Line Client Closes After Entering Password

Postby Nobbie » 29. June 2021 18:31

I did not even know, that one can enter a password in MySQL. How do you start the MySQL Interpreter?

Usually all credentials (Host, User, Password, Database) are passed via command-line on start, like:

mysql -h localhost -u username -ppasswd database

The "missing" space between -p and passwd is correct syntax and is only valid for the -p option.
Nobbie
 
Posts: 13170
Joined: 09. March 2008 13:04

Re: MySQL Command Line Client Closes After Entering Password

Postby 38175425 » 30. June 2021 07:04

Image

I enter my password here
38175425
 
Posts: 19
Joined: 19. April 2021 08:12
XAMPP version: 3.2.4
Operating System: Apache HTTP

Re: MySQL Command Line Client Closes After Entering Password

Postby Altrea » 30. June 2021 08:13

How in any way is that topic related to "XAMPP for Windows"?
This is not a XAMPP MySQL component. That is the command line client from your standalone MySQL installation.
We cannot provide any support for third party tools or single components not shipped by XAMPP.
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11926
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

Re: MySQL Command Line Client Closes After Entering Password

Postby 38175425 » 30. June 2021 13:12

I'm so sorry I forgot that this area is for XAMPP only. I won't do this again.
38175425
 
Posts: 19
Joined: 19. April 2021 08:12
XAMPP version: 3.2.4
Operating System: Apache HTTP


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 138 guests