CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Standalone Installations (Moderator: cap10morgan) »
  • Could not locate mysql executable
Pages: [1]

Author Topic: Could not locate mysql executable  (Read 6940 times)

afatac

  • Guest
Could not locate mysql executable
June 19, 2008, 02:48:20 am
I am trying to install Standalone in Windows with Xampp.

However, I stuck at this error during setkup

Error: Could not locate mysql executable in C:\\Program Files\\xampp\\mysql\\bin


The path defined in the setup menu is C:\Program Files\xampp\mysql\bin

Any help?

cap10morgan

  • Moderator
  • I post occasionally
  • *****
  • Posts: 56
  • Karma: 9
Re: Could not locate mysql executable
June 19, 2008, 01:32:43 pm
Try specifying the path with forward slashes instead of backslashes. Weird, I know. But it just might work!

Like this:

C:/Program Files/xampp/mysql/bin

afatac

  • Guest
Re: Could not locate mysql executable
June 19, 2008, 05:04:44 pm
I have changed. But now the error message is

Error: Could not locate mysql executable in C:/Program Files/xampp/mysql/bin


bighodag

  • Guest
Re: Could not locate mysql executable
July 03, 2008, 07:07:34 am
Is MySQL running as a service? Can you connect to it using MySQL Administrator?

new_install_setup.php connects to MySQL as localhost:3306 .

I too got several error messages at this point in my install. I got over the hurdle by opening the civicrm.settings.php  file and manually editing the MYSQL_DSN. You also can adjust the path to the MYSQL bin directory as well.

Best wishes for success...

- Timothy

BTW, when you get over this hurdle, I could really use a good database schema. Any chance you could export the empty civicrm database to a MySQL file and upload?

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Could not locate mysql executable
July 03, 2008, 08:12:06 am
Quote from: bighodag on July 03, 2008, 07:07:34 am
BTW, when you get over this hurdle, I could really use a good database schema. Any chance you could export the empty civicrm database to a MySQL file and upload?

The complete CiviCRM DB schema is included in the CiviCRM distributions - sql/civicrm.mysql
Protect your investment in CiviCRM by  becoming a Member!

Frederik

  • Guest
Re: Could not locate mysql executable
August 06, 2008, 03:03:58 am
Did anybody solve this issue?

On a windows installation (Apache), I also get the "could not locate mysql executable" error. I tried with \ and with /, both fail.

Thanks,
Frederik

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Standalone Installations (Moderator: cap10morgan) »
  • Could not locate mysql executable

This forum was archived on 2017-11-26.