Running on 5.8.0 804
I finally managed to get MT installed under ActivePerl 5.8.0 build 804. As I had previously mentioned, I’m not the only one having this problem, which is also evidenced by the number of referal entries I’m getting to those articles.
Hopefully this information will help someone. I’m just going to detail the two specific things that I believe are causing the trouble for most people, if anyone needs more details please let me know.
Issue #1
DBD-mysql is a module required by MT if you are using a mySQL backend but for some reason it isn’t in ActiveState’s default PPM repository and it is a bear to find on Jochen’s site. Go here to get it.
Issue #2
There is a file in the mysql\bin directory called libmysql.dll which is now required to be in your path, whereas with earlier versions of DBD-msql it was not. So either add that directory to your path or copy the file to c:\winnt\system32
Now that I’m running Apache with mod_perl the next project is to get MT running under it. Later.
Great!
I saw your hints from the MT Support Forum regarding Issue #1, John, and got that part solved, but it was Issue #2 that completely threw me. I’d never have found it out. Thanks!
Glad to be of help!
The way I finally figured this out was that I ran mt-check.cgi from the command line rather than as a CGI from the web server. Windows then threw the error which made the problem clear.
Hello I cant find the libmysql.dll I only find mysql.dll I placed that into my windows/system32 folder but to no avail please can you help?
I have install the DBI and DBD:mysql modules
What version of MYSQL do you have installed?
Doing a search on my box, I found it in c:\Program Files\mysql\lib\debug.
Actually, it’s as simple as that: Execute
ppm install http://theoryx5.uwinnipeg.ca/ppms/DBD-mysql.ppd
in your perl directory to get dbd-mysql
John,
I don’t understand what I need to do to resolve the problem with Activestate. Please help.
Have you gone through the steps documented here?
Well, I don’t understand step #2, add it to what path? and how?
Sorry, fairly new to this.
Probably would be easiest then just to copy that file to your windows system directory, which is most likely c:\winnt\system32
I did that, well, I copied the file to c:\windows\system32 since I’m running this on XPHome.
I did that, well, I copied the file to c:\windows\system32 since I’m running this on XPHome.
Still, when I run mt-check.cgi it says its not installed.
Try running mt-check.cgi from the command line instead of your browser to see if any errors pop up that give you a clue.
perl mt-check.cgi
It says the same thing as it did when run from the web.
Here is the error i get when i run mt.cgi
install_driver(mysql) failed: Can’t locate DBD/mysql.pm in @INC (@INC contains: c:\w\WEBSER~1\_scribs.net\www\mt\extlib c:\w\WEBSER~1\_scribs.net\www\mt\lib c:/perl/lib c:/perl/site/lib .) at (eval 4) line 3.
Perhaps the DBD::mysql perl module hasn’t been fully installed,
or perhaps the capitalisation of ‘mysql’ isn’t right.
Available drivers: ExampleP, Proxy, mysqlPP.
I’m really not sure - my last suggestion is to verify you have a mysql.pm if not then try step 1 again.
Its installed with Activeperl…
Can I get perl for win32 from some place besides Activestate? They seem to suck major %(#@ ?
Thank you. I have been struggling with this for days. The path to the DLL fixed my problem on ActiveState Perl 5.8 + mySQL, so now I can run Mason on Win32 with mySQL access. Thanks.
Since my PC is behind a firwall, I cannot just install DBD-mysql.ppd directly from a web site, so I copied the file to my local drive and tried to install it but got the following error:
C:\Perl\bin>ppm install C:\Perl\packages\DBD-mysql.ppd
Error: no suitable installation target found for package DBD-mysql.
Can anyone help?
Thanks,
Wei