I'm getting the following error message when I try to run an application that connects to a MySQL database instance:
"[FireDAC][Phys][MySQL]-314. Cannot load vendor library [libmysql.dll or libmysqld.dll]. Hint check it is in the PATH or application EXE directories, and has x86 bitness.".
The error persists even with the libmysql.dll file on the same directory of the application executable.
Beyond to install the MySQL Connector/C to get the libmysql.dll, it is necessary to install the Visual C++ Redistributable Packages for Visual Studio 2013 too.
Just copy libmysql.dll into the same folder of the application, or add the path to libmysql.dll into Path variable of system.
Related
Ejabberd has a windows installer but the source does not compile for windows out of the box.
configure.bat has references to configure.erl but this file doesn't exist.
How do they do it?
From what I know, the windows installer is cross-compiled, or some weird stuff, and also requires specific program to pack the installer. So, building a Windows installer is not possible.
But you can download the ejabberd source code, make any changes you want to the erlang source code, compile it with the same Erlang/OTP version that is included in the Windows installer, and copy the *.beam files you have modified into the ejabberd installed directory.
I install MysqlConnector/C, add in additional include directories MySQL include directory, and add in additional library directories MySQL lib directory (there is no lib/opt directory), and write sql::mysql::MySQL_Driver and get compile error, sql namespace not found.
I have visual studio 2012, and my application is console application (with stdafx.h file). What is problem?
I install the RailsInstaller downloading from this site http://railsinstaller.org/ and also install the mysqlInstaller downloading from this site http://dev.mysql.com/downloads/. Both I have installed in c:\ drive. I have also installed mysql driver from ruby command gem install mysql. Now I haven't Idea how to configure mysql in Ruby on Rails.
I have seen this answer MySQL driver for Rails in Windows 7 x64 they tell to replace libmySQL.dll but where to replace I didn't find such file.
Does anyone have any Idea or solution about my problem?
I had same problem. following solution worked for me
Solution:
the libmysql.dll file is located in the bin directory of your mysql installation.
This file needs to be a copy of it in the Ruby\bin directory.
I just downloaded zipped-up version of mysql 5.5.9 (mysql-5.5.9.zip, which I put in c:\progream files), unzipped it, and got this dir (screenshot):
http://mayacove.com/misc/ss_mysql.gif
I hadn't installed mysql server on windows in a few years.. I remember that years ago you used to get an installer called setup.exe, when you ran that it ran instal/config wizard, that would walk you thru installation and setup.. so how do I run that wizard now???
no file with ext .exe inside this dir (no file with ext .msi either) no serious instructions here
http://dev.mysql.com/doc/refman/5.5/en/windows-installation-layout.html
would appreciate some help.. thank you very much...
There is a package available with a MSI installer.
Just follow the instructions on http://dev.mysql.com/downloads/mysql/
You should use msi installer. It's on download page first or second option.
After installing from the RPM and then trying the Binary versions of APE (AJAX Push Engine) I am getting this error (on both versions) when I try to run the APE server:
[Module] Failed to load ../modules/libmod_spidermonkey.so [Invalid library] (libmysqlclient_r.so.15: cannot open shared object file: No such file or directory)
I am using Fedora Linux, with MySql and apache installed. How can I get this libmysqlclient file? I have found this RPM: http://rpm.pbone.net/index.php3/stat/4/idpl/12471829/dir/fedora_4/com/mysqlclient15-5.0.67-1.fc4.remi.i386.rpm.html
And it says it includes this file, so I downloaded it to the box, attempted to install and tells me that it's already installed.
Any advice would help thanks!
Inside the ape.conf there's a module working directory which must be altered.