I badly need this patch and tried to run:
mysql_config_win32.pl
...it has failed every time stating:
'C:\PROGRA~1\MySQL\MySQL' is not recognized as an internal or external command, operable program or batch file.
Problem running C:\PROGRA~1\MySQL\MySQL Server 5.0\bin
\mysqladmin.exe - aborting ...
...I went into the script and found that the variable:
$mysqladmin was correctly getting the path in $mysqladmin @line 55, or thereabouts, of the script, however the next line:
my $v = qx($mysqladmin version);
results in no value in $v which then exits on the following "unless ($v) { etc, etc....
I attempted to run "mysqladmin version" at the command prompt which resulted in an error:
"mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user 'ODBC'@'localhost' (using password: NO)'
...assuming this might be why $v gets no value, I spent hours trying to figure this out and did many things to my MySQL. I can get it to work issuing this command:
mysqladmin -u root -p1588 version
(1588 is just a dummy password value I put in...)
...first, I may be barking up the wrong tree here!
...second, if I am not, how do I feed the correct string to this portion of the script?
Any help would be very much appreciated, it took me a long time to find this thread and answers to installing DBI and DBD:mysql on my Windows Vista machine with Perl 5.10 and the latest MySQL.
I badly need wisdom and thank anyone who thinks they can explain this in advance!
Best
Pyrrhic
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.