Error in bugzilla installation - mysql

I have installed bugzilla, now when I run checksetup.pl produce following error.
There was an error connecting to mysql:
install_driver(mysql) failed. Attempt to reload DBD/mysql.pm aborted.
compilation failed in require at (eval 159) line 3.
at Bugzilla/DB.pm line 1265.

You did not install DBD::mysql, which is the database driver for MySQL and the Perl DBI, which is what Bugzilla is using. Please check https://metacpan.org/pod/distribution/DBD-mysql/lib/DBD/mysql/INSTALL.pod to see installation instructions for your platform.

Related

DBD::mysql error in ActivePerl 5.28 on Windws10 64bits, Can't load mysql.dll

I'm having an issue with the DBD::mysql module. This question has been asked before on this forum but a solution was not posted so I thought I would repost it. Sorry if this is not appropriate for this forum. This is my first post.
You can find the original post from bLIGU here:
Error using perl module DBD::mysql in ActivePerl 5.28 on Windws10 64bits
I have the exact same problem. I'm just upgrading my Active Perl version. Nothing else changed. I'm running the same MySql server version and this script ran fine before the update and it runs fine if I go back to version 5.20.2.2002 and use PPM to download the packages.
Note that ActiveState now requires you to build a custom version of ActivePerl with the modules online and generates an install file for you. PPM is no longer supported.
Here's the error:
install_driver(mysql) failed: Can't load 'C:/Perl64/site/lib/auto/DBD/mysql/mysql.dll' for module DBD::mysql: load_file:The specified module could not be found at C:/Perl64/lib/DynaLoader.pm line 193.
at (eval 11) line 3.
Compilation failed in require at (eval 11) line 3.
Perhaps a required shared library or dll isn't installed where expected
at C:\E22_TE~1\ICTDEV~1\Scripts\UPDATE~1.PL line 136.strong text
The file C:/Perl64/site/lib/auto/DBD/mysql/mysql.dll is present so I'm wondering if the DLL is trying to load something else and returns an error.

CMake Error at /usr/share/cmake-3.5/Modules/TestBigEndian.cmake:51 (message): no suitable type found

I am trying to install MySQL source code in Linux system and ended up with this error while executing cmake ..
CMake Error at /usr/share/cmake-3.5/Modules/TestBigEndian.cmake:51 (message):
no suitable type found
Call Stack (most recent call first):
configure.cmake:400 (TEST_BIG_ENDIAN)
CMakeLists.txt:1015 (INCLUDE)
I am new to this. How can I resolve this error?
Here is my config:
CMake version - 3.5.1
GCC version - 5.4.0
ubuntu - 16.4.11(64 bit)
Link to my CMakeError.log file
https://drive.google.com/open?id=1NzMRvXsJE-YMDDuW32lkdi0IvY3MfJXf

Moodle: Installation failed - Coding Error Detected

I have tried to install Moodle 3.5.1 on my development server (Apache 2.4.29 and MySQL v.5.7).
The installation process went smoothly: The MySQL database has been set up, all required PHP packages are installed, the system has been successfully installed, all file permissions are correct.
After the installation I only get the following error:
"Coding error detected, it must be fixed by a programmer: PHP catchable fatal error"
There are no further error messages. There are no error messages in Apache Error log or PHP log files. In the PHP ini file the display of error messages is activated.
So I can not figure out what did not work or how to fix it.
Put error_reporting(E_ALL); and ini_set('display_errors', 1); in the beggining of the script you see problem in for more debug info
Moodle 3.5 requires PHP 7
https://docs.moodle.org/35/en/PHP
Could that be your problem?

Error when installing Hadoop 2.3.0 on Windows 7

I am following the installation process outlined in the link:
http://www.srccodes.com/p/article/38/build-install-configure-run-apache-hadoop-2.2.0-microsoft-windows-os
When running the 'start-dfs' command I get the following error:
FATAL namenode.NameNode: Exception in namenode join
java.lang.UnsatisfiedLinkError: org.apache.hadoop.nativeio.NativeIO$Windows.access0(Ljava/lang/String;I)Z
Any suggestions on how to fix this and finish configuring Hadoop? Thanks!

Installing mysql on Yesod

I successfully created a Yesod app (using cabal-dev) and launching it.
but I have been trying to use mysql with yesod, but I always keep getting the following error message after running the command " cabal-dev install yesod-platform, cabal-dev install yesod-bin; cabal-dev install " :
Installed yesod-1.2.2.1
cabal: Error: some packages failed to install:
Youne-0.0.0 depends on pcre-light-0.4 which failed to install.
mysql-0.1.1.5 failed during the configure step. The exception was:
ExitFailure 1
mysql-simple-0.2.2.4 depends on pcre-light-0.4 which failed to install.
pcre-light-0.4 failed during the configure step. The exception was:
ExitFailure 1
persistent-mysql-1.2.1 depends on pcre-light-0.4 which failed to install.
I don't know what's going on.
There was a problem installing pcre-light, most likely due to missing system libraries. Try running just cabal install pcre-light-0.4 and see if that output is more helpful.