I am trying to use dbexpress component first time to connect to mysql
i got this error
Failure to Connect : Unable to load
libmysql.dll
my delphi version : Delphi7
mysql 5.1.36 (wamp server installed on my windows).
can any one help me in this
thanks in advance
DB Express / Delphi 7 did not support MySQL 5 so you'll need a copy of the open source MySQL 5 drivers for DB Express (Found here).
You should also ensure that the libmysql.dll assembly is installed and can be found in your PATH variable. If you need to find it again, it can be found in the MySQL5.X zip distribution in lib\opt
Try to put libmysql.dll to your lib path. If this doesn't help, than get another version of libmysql.dll file.
Delphi 7 is shipped with mysql 3.x drivers. What you need is something for mysql 5. You can find one here,
Follow the instructions on how to add new dbexpress driver in the documentation
Related
I recently deleted mySQL and now when i am trying to reinstall it is giving me an error while configuring the mySQL Server
i have tried deleting everything from program file and registry also still no success
enter image description here
I found the issue.
When you install with the Installer 1.4, it won't work.
You should be good if you use V.1.6 of the installer.
https://dev.mysql.com/downloads/installer/
So I have the following problem. I'm trying to register MySQL 8.0 from the services tab in Netbeans 8.2.
When doing so I enter all the Basic and Admin properties and it gets added but when I click on Start I get the following error:
No enum constant com.mysql.cj.conf.PropertyDefinition.ZeroDatetimeBehavior.CONVERTTONULL
Here is a Screenshot of the Error
I've been researching a lot and apparently I have to change some xml file that I don't know exactly where to find it.
Anyone has any idea about this?
I don't understand why it works when I use MySQL server 5.x but not with 8.x
Thank you!
I think the problem is that netbeans doesn't support Mysql 8.0 server.
It even says so in the official site that please select Mysql 5 server when installing.
https://netbeans.org/kb/docs/ide/install-and-configure-mysql-server.html
This is not the case anymore. Please refer below as stated by #skomisa:
Specified Class is not a Driver. Can't add MySQL Connector/J 8.0 to Netbeans 8.0
please update your mysql driver from offical mysql website it about 8.01 but the current is old 5.0
I'm trying to build the MySQL drivers for Qt. I've downloaded and installed the MySQL Server files and I also got the Qt source files. After that i've tried to build the MySQL plugin, by opening the MySQL pro file (located at Qtbase/src/plugins/sqldrivers/mysql) and I've add path to the MySQL Server files (include and lib). When I now try to build it, I get the error "cannot open file 'mysql.lib'". So I checked if there is a mysql.lib file in the MySQL Server lib path and there wasnt, so I downloaded the C++ MySQL connector, but it doesnt contain a mysql.lib file either. So I need help, I'm not sure if I'm doing it right and if so, where can I get the mysql.lib file?
Thanks for all the help
Greets
Steven
I want to use the MySQL Workbench Migration Wizard to convert a PostgreSQL database into MySQL, but am unable to correctly install the odbc drivers. I downloaded the tarball and followed the installation instructions exactly for Mac OS X (http://mysqlworkbench.org/2012/11/set-up-and-configure-postgresql-odbc-drivers-for-the-mysql-workbench-migration-wizard/) and did not receive any errors during this process. Obviously something went wrong, however, because the necessary command for the next step (iodbcadm-gtk) is not installed anywhere. I have checked in any location I can think of to ensure this is not simply a path issue. Has anyone else had a similar problem?
Additional note:
The only files it does install are /usr/local/lib/psqlodbcw.la and /usr/local/lib/psqlodbcw.so
I think you need to download odbc manager for mac to be able to configure your driver
http://support.apple.com/kb/dl895
I'm trying to install RMySQL on Windows 7 (64 bit), following the instructions at http://biostat.mc.vanderbilt.edu/wiki/Main/RMySQL. I'm using R 2.15.1, RTools 2.15, and a full installation of the latest MySQL 5.5.28 and Connector C 6.0.2, and have done the extra step of copying lib and dll files. When I run install.packages('RMySQL',type='source'), it builds but with the warning:
RMySQL was compiled with MySQL 5.5.28 but loading MySQL 6.0.0 instead!
This may cause problems with your database connections.
Please install MySQL 5.5.28.
If you have already done so, you may need to set your environment
variable MYSQL_HOME to the proper install directory.
This confuses me, as I believe I'm using a consistent and up-to-date installation of MySQL, based on the MySQL Installer (which I have also re-run to check for updates). My MYSQL_HOME variable is set to "C:/PROGRA~1/MySQL/MYSQLS~1.5/" and so also looks correct.
I'm not sure where the 6.0.0 version number in the warning is coming from. Based on searches, this appears to be an old 32-bit version of MySQL.
Is anyone able to help?
RMySQL seems to be compiled not with the latest version of MySQL that you are using. As the error message says: Install a MySQL version that is compatible with RMySQL.