PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Monday, May 16, 2022

[FIXED] How can I access MySQL via the command line for EasyPHP DevServer

 May 16, 2022     command, easyphp, line, mysql     No comments   

Issue

I am using a book and its example uses a different program.

Basically I have this entered:

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

And I get this error:

"'EasyPHP-DevServer-14.1VC11\binaries\mysql\bin' is not recognised as an internal or external command, operable program or batch file."

I've looked around online and haven't found many things, the things I did find require some tinkering around and I don't want to mess something up by accident.. to be honest I'm not entirely sure what I'm doing here. I mean I know the basics of the command line but I don't know how to use it for mySQL. So could someone please assist me? Thanks.


Solution

Probably you have missed to write mysql after ".....\bin".
You should try as following:

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

Or
add C:\Program Files (x86)\EasyPHP-DevServer-14.1VC11\binaries\mysql\bin to path environment variable and just use command like bellow:

mysql -u root


Answered By - mmuzahid
Answer Checked By - Timothy Miller (PHPFixing Admin)
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing