O'Reilly Forums: Unable To Access Mysql Executable From The Cmd - O'Reilly Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Unable To Access Mysql Executable From The Cmd MySQL/EasyPHP

#1 User is offline   a_Pritchard 

  • New Member
  • Pip
  • Group: Members
  • Posts: 2
  • Joined: 15-August 12

Posted 16 August 2012 - 12:53 AM

Hello,

I've installed EasyPHP 12.0 and MySQL (5.5.25a) on my machine for the first time. However, I seem to be having difficulties accessing the MySQL executable from the command prompt in Windows 7.

The executable file resides in the following directory: "C:\Program Files(x86)\EasyPHP-12.0\mysql\bin\mysql"

I've been typing in the full path name in the command prompt (an adaptation of the path recommended by the textbook 'Learning PHP, MySQL & JavaScript" which I'm guessing may have been published prior to the release of Windows 7). The only differences here are the EasyPHP version I'm using and the location in which the file is stored i.e. "Program Files(x86)" vs."Program Files."

I'm getting the following error regardless of what I try: 'The system cannot find the path specified.'

I've tried to find a solution but I just don't seem to be getting any further.. I'm sure there must be something very basic that I'm somehow missing.

Many thanks for any help in advance.
0

#2 User is offline   Bryan22 

  • New Member
  • Pip
  • Group: Members
  • Posts: 2
  • Joined: 20-August 12

Posted 20 August 2012 - 03:50 PM

"\Program Files (x86)\EasyPHP-12.0\mysql\bin\mysql" -u root

copy/paste that into the cmd prompt(include quotes) looks like you missed the space between Files and (x86). Good luck.
Bryan
0

#3 User is offline   a_Pritchard 

  • New Member
  • Pip
  • Group: Members
  • Posts: 2
  • Joined: 15-August 12

Posted 21 August 2012 - 11:28 PM

Thank you very much for your reply Bryan - that worked! I knew it would most likely be something simple like that.

Best regards.
0

#4 User is offline   Cusco 

  • New Member
  • Pip
  • Group: Members
  • Posts: 4
  • Joined: 23-August 12
  • Gender:Male

Posted 23 August 2012 - 06:56 PM

Dear Brian, thank you very much, I also had the same problem, never thought to solve it so fast.

Greetings,
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users