Page 1 of 1

Failed to install Perl Mysql Module in XAMPP

PostPosted: 29. December 2012 17:49
by ginodee
Dear experts,

I tried to install Perl Mysql module via cpan command in XAMPP for serval times but all failed. I feel frustrated very much, it would definitely appciated if someone could help me on it.

I use the latest version of XAMPP (1.8.1) and using the new XAMPP Control Panel Version 3. My OS is Windows 7 Ultimate 32bit, hope this info would help you.

it said mysqladmin.exe was not found in the path. i need to add the directory containing mysqladmin.exe to path variable environment. But I don't know how to add it. Below is the screenshot for all results displayed in the shell.

It would really grateful that you can guide me how to correct this mistake. Thank you so much for your kind reply in advance.

Image

Re: Failed to install Perl Mysql Module in XAMPP

PostPosted: 29. December 2012 21:30
by JonB
Try it using the XAMPP Shell. There is a button in the Control Panel to start an enhanced command window with a XAMPP specific environment

Good luck

Re: Failed to install Perl Mysql Module in XAMPP

PostPosted: 30. December 2012 06:02
by ginodee
JonB wrote:Try it using the XAMPP Shell. There is a button in the Control Panel to start an enhanced command window with a XAMPP specific environment

Good luck


Hi JonB

I do it followed your guide but failed again. below is the command through XAMPP shell. It would be great that you could kindly have a look at it. Thank you very much for the help.

Image

Re: Failed to install Perl Mysql Module in XAMPP

PostPosted: 31. December 2012 08:18
by ginodee
It is highly appreciated that someone could help me on this issue.

Re: Failed to install Perl Mysql Module in XAMPP

PostPosted: 02. January 2013 15:56
by ginodee
Anybody can help me?

Re: Failed to install Perl Mysql Module in XAMPP

PostPosted: 02. January 2013 18:13
by JJ_Tagy
To add the path to your environment, close all command prompts and do the following:

1. Right-click 'Computer' and select 'Properties'
2. In the task pane on the left, select 'Advanced system settings'
3. Select 'Environment Variables' button
4. In the 'System variables' window, scroll down and find 'Path'
5. Double click the 'Value' section and go all the way to the end of the 'Variable value' text field
6. Add in ';c:\xampp\mysql\bin' and click 'Ok' to save and close all windows.

Now, each time you open a CMD prompt, mysql/bin is linked.