MySQL Forums
Forum List  »  Newbie

Re: SQL command line error crashes Windows 7
Posted by: Gerry Blaney
Date: November 11, 2015 02:48PM

Found the problem. I was running directly from the Windows command line as

mysql -u root -p

but without the "--defaults-file" option that is used by the Windows "MySQL 5.7 Command Line Client" shortcut. Once I used that it was fine. The shortcut command line is:

"C:\Program Files\MySQL\MySQL Server 5.7\bin\mysql.exe" "--defaults-file=C:\ProgramData\MySQL\MySQL Server 5.7\my.ini" "-uroot" "-p"

Options: ReplyQuote


Subject
Written By
Posted
Re: SQL command line error crashes Windows 7
November 11, 2015 02:48PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.