Which mysql driver will suport ejabberd 2.1.13 perfectly? - mysql

I want to configure Ejabberd with Mysql. I have seen many mysql drivers available in different sites. I don't know which will work fine with ejabberd 2.1.13.
I am using drivers from the link -
https://github.com/dizzyd/erlang-mysql-driver
And these are not working fine.

Use https://svn.process-one.net/ejabberd-modules/mysql/trunk/
This is a deprecated repository, but will work with 2.1.x.

Related

MySQL “Connector/J 5.1.48” platform-independent on MacOS Mojave issues

How do I download MySQL “Connector/J 5.1.48” platform-independent on macOS Mojave? There is a project I’m working on and I need this specific connector to work on my computer because there’s a specific Android Studio related project I need it for. When I try downloading it, I get an error message. Just in case it’s not possible, are there any other database replacement options that work well with Android Studio that are simple to implement on macOS?
Link to Connector/J 5.1.48: https://dev.mysql.com/downloads/connector/j/5.1.html
Thanks.
JAR files already are platform independent... They are not executable
I'm not sure how your error is specific to Android Studio, but mobile apps should not be directly querying a Mysql database, but rather reaching a web API that exposes database results over HTTP
And even if you did want to use mysql drivers in an Android app, you'd add those with Gradle, not JARs
That being said, MacOS isn't the issue either, and there's plenty of database replacements for Mysql

Drools workbench 7.12.0 for Tomcat

I am new to Drools and am trying to install drools server and workbench 7.12.0. I happen to see see a tomcat version of the war for the workbench in the previous versions but not for 7.12.0. Can someone point me to the right war to be used for Tomcat?
I checked the documentation, its says a tailored version of the war is available but I could not find one.
Best Regards,
Hanmanth.
As per clarification here , it appears support for tomcat is dropped, until there are folks who want to maintain it.
You can switch over to wildfly (community) version of kie-workbench.

How can I install different versions of MySQL on Windows 10?

I would like to install different MySQL versions on Windows. I have a MySQL 5.5 running, and I want to install a MySQL 5.7 to debug compatibility issues of a program I am working on. Both installations should stay side at a side, may have their own databases (it’s OK to start with an empty 5.7) and I am happy to run or stop the one or other from the Services control panel manually. The nowadays MySQL installer - community wants to upgrade my existing installation and, unlike explained in this article, does not offer another option to install the versions side to side. All I found was a rant confirming my problem, but no real solution. If it requires me to install it manually, I need detailed instructions. In my case, default setup (default port) is sufficient, because I don’t need to run both instances the same time.
This is not so obvious but using the "MySQL installer", you need to run it, then click on "Cancel" and a new window will appear, letting you install new elements. You can then select the version(s) of MySQL that you want to add to your system.
You don't need it but if people want to run several instances at the same time, they need to choose a different port for each installation.
Why not simply use a virtual machines to install your different MySQL version ?
Like that you will be sure to have no compatibilty issues between them and you can start/stop vms as you like.
Otherwise, I did find that : https://www.codementor.io/arpitbhayani/setup-multiple-mysql-servers-with-different-versions-docker-du107solq but can't confirm it's working.
Use Dockerized mysql and you can run as many mysql versions you want on different ports.

MYSQL Backward compatible to 5.1.1?

I have a Wordpress site that was developed on a server running the latest version of MYSQL, however, I've just found out the host server (BT) is running 5.1.1. and they have no plans to upgrade anytime soon.
Does anyone know if there is a way of converting the database so it runs on 5.1.1 with no issues caused re the site being built in the latest version of Wordpress?
If this is a massive issue, then I do have some alternative hosting options, but I'm hoping for a way forward re conversion - any geniuses out there?
Many thanks
I doubt that BT is running MySQL 5.1.1. That version was never released. It was an internal development milestone in 2005.
The first GA release of the 5.1 branch was 5.1.30 in 2008. The last 5.1 release was 5.1.73 in 2013. But after 2013, 5.1 has been in "sustaining support" which means they will not make any new versions or fixes.
You shouldn't deploy to a hosting site that still runs any 5.1.x version. A site that is so far behind is probably behind on other software too, and I would not be surprised if they have known security vulnerabilities.
Wordpress officially requires MySQL 5.6 or later, according to https://wordpress.org/about/requirements/.
You could try to test that by testing on MySQL 5.1 (assuming you can find an installation package of MySQL 5.1). Use mysqldump to export data from your 5.6 database server and then import that to MySQL 5.1. The output of mysqldump wraps newer syntax in special comments that will be ignored by older versions of MySQL Server.
Regardless, my recommendation is:
Find another hosting service running MySQL 5.6 or 5.7.
Develop and test your site with the same versions of all software (MySQL, PHP, Apache, etc.) that you will eventually deploy to.

How to get MySQL server working after OSX Yosemite upgrade?

After I upgraded my Mac from Mavericks OSX to Yosemite, my local Apache and MySQL server setup did not work anymore. Thanks to Apache localhost/~username/ not working I just got the Apache server working but my Joomla application now indicates it can't access the MySQL database; neither can the Phpmyadmin tool.
How to fix this? I've seen instructions for installing MySQL for Yosemite (https://www.computersnyou.com/3376/setup-apache-php-mysql-macosx-10-10-yosemite/) but I'm not sure whether that's the best way forward as my Joomla application still needs to access the existing MySQL db information? E.g., I don't want to lose my existing saved database info of various web applications....
If you had a working native version of mysql working on Mavericks, the mysql preference pane should be still visible in the preferences, just click on the preference pane and start mysql.
Only problem is that mysql does not auto-start on boot, this can be solved by following these steps: https://stackoverflow.com/a/26465743/580173
Just Start MySQL Server! It worked for me.