Can't install Perl Module DBD::mysql

Problems with the Linux version of XAMPP, questions, comments, and anything related.

Can't install Perl Module DBD::mysql

Postby Nick Taylor » 04. February 2004 18:26

I'm afraid I need a tip again.
I am using webmin to control the backups for MySQL (backup the various databases), but the scheduled backup option doesn't want to be enabled. I can select scheduled backups (hourly, to make sure it works) but it doesn't work, and when I go back to the options, the scheduled backup shows as not activated...
I have also noticed that when i go to the MySQL Database Server part in the LAMPP part of Webmin, it says:
Warning: The Perl module DBD::mysql is not installed on your system, so Webmin will not be able to reliably access your MySQL database. Click here to install it now.
Now when I click to install the module, it says it cannot install because it's looking for a file (mysql.h) and it cannot find it...
Installation of Msql::Mysql::modules failed. Check the output above and try installing manually.
Where is your MySQL installed? Please tell me the directory that
contains the subdir 'include'. [/usr/local] /usr/local
Cannot find one of include/mysql/mysql.h, include/mysql.h in /usr/local at lib/DBD/mysql/Install.pm
line 165.

Any ideas, anyone?

Oh, and i've tried to download the module manually, but can't figure out how to install it manually.... :oops: Sorry

Nick
Nick Taylor
 
Posts: 36
Joined: 27. January 2004 14:22
Location: Oxford

Postby Nick Taylor » 05. February 2004 13:04

Right, had to learn German for this one, with the help of someone else at work, but I've found the solution in the German section of the forum.
So, for anyone who can't read German, here's the solution (dead easy, thanks to Kai!):

Download the following file: http://www.apachefriends.org/lampp-dbdm ... .9a.tar.gz
Then simply go to a Konsole prompt and type tar xvfz lampp-dbdmysql-0.9.9a.tar.gz -C /opt and that is it!

Enjoy!
Nick Taylor
 
Posts: 36
Joined: 27. January 2004 14:22
Location: Oxford

Postby CheRny » 30. May 2004 16:21

Thanks, Nick...

DBD::mysql works fine now. It seems like I need to learn German too :-)
CheRny
 
Posts: 1
Joined: 30. May 2004 16:16

Postby webking » 17. July 2004 11:57

Mine said this:

Fatal error: Call to undefined function: mysql_connect() in /home/xxxxxx/public_html/forums/sources/Drivers/mySQL.php on line 62

I installed this as instructed but I still get the same message. what do I need to do now?

Thanks
webking
 
Posts: 4
Joined: 22. June 2004 01:38

Postby ORiGiNAL-SiN » 24. April 2005 02:32

HELP!!!! That file does not exist, if anyone can help me install DBD::Mysql under xampp I will be eternally greatful!
C:/>
ORiGiNAL-SiN
 
Posts: 4
Joined: 24. April 2005 02:07

Postby Nick Taylor » 25. April 2005 17:30

ORiGiNAL-SiN wrote:HELP!!!! That file does not exist, if anyone can help me install DBD::Mysql under xampp I will be eternally greatful!


Try here:
http://search.cpan.org/dist/DBD-mysql/
Nick
Nick Taylor
 
Posts: 36
Joined: 27. January 2004 14:22
Location: Oxford

Postby ORiGiNAL-SiN » 25. April 2005 22:34

Care to elaborate?
C:/>
ORiGiNAL-SiN
 
Posts: 4
Joined: 24. April 2005 02:07

Postby Nick Taylor » 26. April 2005 15:37

ORiGiNAL-SiN wrote:Care to elaborate?

Sorry.
Look here: http://search.cpan.org/src/RUDY/DBD-mysql-2.9006/INSTALL.html
Nick[/url]
Nick Taylor
 
Posts: 36
Joined: 27. January 2004 14:22
Location: Oxford

Postby ORiGiNAL-SiN » 06. June 2005 12:20

Still does not help, please can anyone help me install DBD-mysql under xampp linux, i'm wracking my brains out here!!!!!!!!

Can't exec "mysql_config": No such file or directory at Makefile.PL line 73.

Cannot find the file 'mysql_config'! Your execution PATH doesn't seem
not contain the path to mysql_config. Resorting to guessed values!
Can't exec "mysql_config": No such file or directory at Makefile.PL line 248.
Can't exec "mysql_config": No such file or directory at Makefile.PL line 248.
Can't exec "mysql_config": No such file or directory at Makefile.PL line 248.
Can't exec "mysql_config": No such file or directory at Makefile.PL line 248.
Can't exec "mysql_config": No such file or directory at Makefile.PL line 248.
Failed to determine directory of mysql.h. Use

perl Makefile.PL --cflags=-I<dir>

to set this directory. For details see the INSTALL.html file,
section "C Compiler flags" or type

perl Makefile.PL --help
C:/>
ORiGiNAL-SiN
 
Posts: 4
Joined: 24. April 2005 02:07


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 17 guests