0

The book I'm reading asked me to type

"\Program Files\EasyPHP 3.0\mysql\bin\mysql" -u root

in my command line, but my mysql executable directory, which I installed using with EASYPHP DEVSERVER, is in

D:\Program Files (x86)\EasyPHP-DevServer-14.1VC11\binaries\mysql\bin

So I tried making sense of it (or at least that's what I thought) and tried typing

"\Program Files (x86)\EasyPHP-DevServer-14.1VC11\binaries\mysql\bin" -u root

in the command line. I pressed enter and I got an error that that's unrecognizable.

So how do I access my database through the command line? Did I make any installation errors? Are there misconceptions I have?

5
  • Perhaps it is trying to access the C:/ directory instead of D:/ ? Commented Apr 17, 2015 at 9:06
  • You are missing the last "mysql" in your command. The way you have your command at the moment, you are asking to run "bin" and not "mysql" Commented Apr 17, 2015 at 9:11
  • @DarkAshelin, but my Windows is running in D:/ and not C:/ drive. Commented Apr 17, 2015 at 10:39
  • @BerndLinde, I tried running mysql the way you suggested and it gave me the same error. Commented Apr 17, 2015 at 10:39
  • @SelloNyama Can you try "D:\Program Files (x86)\EasyPHP-DevServer-14.1VC11\binaries\mysql\bin\mysql" -u root ? Commented Apr 17, 2015 at 11:34

2 Answers 2

0

Change "\Program Files (x86)\EasyPHP-DevServer-14.1VC11\binaries\mysql\bin" -u root to "D:\Program Files (x86)\EasyPHP-DevServer-14.1VC11\binaries\mysql\bin" -u root

The writer assumed everything was on the same windows partition.

Also I advise you to add mysql to your PATH for convenience: https://stackoverflow.com/a/23841529/982075

Sign up to request clarification or add additional context in comments.

Comments

0

C:\EasyPHP-Devserver-17\eds-binaries\dbserver\mysql5717x86x200727173959\bin>mysql -u root And Enter \bin>mysql -u root

1 Comment

bin>mysql ? Are you sure ?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.