Erlang MySQL Library for ejabberd [closed] - mysql

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 8 years ago.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Improve this question
I have just started playing with ejabberd server for XMPP stuff.
I could setup it up successfully on a VPS using the default Mnesia database.
Now I am trying to configure ejabberd to use a mysql database (instead of Mnesia). I am following the documentation. I have done everything except install the Erlang MySQL library. Unfortunately, the link they give in the document is broken. The link is: https://support.process-one.net/doc/display/CONTRIBS/Yxa.
By, googling I could fing this github repo that claims to be an extension and enhancement of the driver that is linked on ejabberd documentation.
I WOULD LIKE TO KNOW WHAT IS THE RECOMMENDED ERLANG MYSQL LIBRARY (TO WORK WITH EJABBERD).

I found here a supposedly enhanced version of the library. According to the site:
This MySQL driver for Erlang is based on the Yxa driver obtained from
Process One (at
https://support.process-one.net/doc/display/CONTRIBS/Yxa) It includes
several new features such as prepared statements, transactions, binary
queries, type-converted query results, more efficient logging and a
new connection pooling mechanism.
I installed erlang tools on my ubuntu instance that allowed me to compile the library.

There are a lot of forks of emysql driver in the wild b/c of original driver is no longer maintained, but recent news I heard that it was picked and improved, check this repo

Related

Standalone Library to Connect to MySQL Server [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I've recently wrote up a little application for work to ease our on the fly notetaking. I wrote the program in IronPython, but have since hit a brickwall as I can't find an easy way to connect to an external MySQL server we host for record keeping.
My constraints for this application are that it has to be purely portable across both Win XP and 7 systems. So basically, no installations.
I've read up on MySQLdb and some others but can't seem to find anything that does not require installation.
What classes or libraries can I use to straightforwardly connect to a MySQL server, without installing anything? If there are none for IronPython, is there one for another language? Alternatively, is there a way to use MySQLdb without requiring it to be installed on the client system?
A very simple and easy to deploy solution is using Connector/Net.
You only depend on a single assembly (mysql.data.dll) that needs to reside beside your application (or wherever you choose).
The documentation has a few examples on how to use the connector from C#/.NET which can be used as a guide on how to use it from IronPython as well.
Another possible solution could be using Connector/Python. It is native python without any managed or native assemblies but it comes in the form of several .py files which could possibly be embedded within your executable.
MySQLdb probably won't work because of its native assemblies.

Of the different virtualization project available- QEMU, KVM, Xen, VirtualBox which one should a beginner pick [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a book, tool, software library, tutorial or other off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I am interested in virtualization related projects. However there seems to be plenty of options in this field. Which project should i start working on given the above choices. I want to work on on of these projects going forward. I am familiar with the basics of virtualization methods available and basic interfaces. Have been using VirtualBox for more than 3 years now.
First, ask yourself what type of code you want to contribute. If it is more on the binary-translation side, your best choice is QEmu since it does all the core work for KVM. KVM on the other hand, is an architecture that sits upon QEmu and leverages the Linux kernel's scheduler. So if IPC, process management, signals etc are your thing, jump into KVM. i would suggest that you study the architectures of these hypervisors and then decide what you want to get into.
This was a specific example. Virtualization is much more than hypervisors. Look into OpenStack. It is to virtualization what Android is to smartphones.
Another interesting thing to look into, to begin coding would be libvirt. It is the underlying library that powers most of hypervisor-agnostic virtualization frameworks and orchestration tools.

Database stored on a shared drive [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I have to make a database for 250 students which will have around 100-200 columns. Now its not possible to install MYSQL or anything like that on the server.All we can get is a shared folder on the server. The client side can have anything installed. There will be around 5-10 clients who will add,edit or delete the records. I though about SQLite as an option. Is there any security issues with it???
I need a database to be accessed by a 5 to 10 clients. We do not have a full server per se but rather a shared folder on a server. We therefore cannot install any server-side software, only client-side.
I would use SQLite. You could also use MS Access but consider that problems with old MS Access databases are common in companies where Access where used on the late nineties.
Have a look at the following questions here
https://superuser.com/questions/111798/small-database-recommendation-free
Free database for small datawarehouse
You will find enough information to get you started.
Else look at these
SQLite
HSQLDB

How can I automatically convert MySQL DDL to Oracle DDL? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a book, tool, software library, tutorial or other off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I know my question sounds a little bit like a shopping request, but I honestly believe that many people could find it useful.
I've been looking for an automatic tool that converts Data Definition Language from MySQL dialect to Oracle dialect - the other way round would also be fine. I found “SQL Fairy” but I was unable to run it; probably because I'm not familiar with PERL.
Is there any free tool for Windows that converts MySQL DDL to Oracle DDL?
This site really worked for me and it can convert a bunch of different DDL commands from Oracle, MySql, M$ Sql Server, Sybase and others. http://www.sqlines.com/online.
Please note the disclaimer below the tool:
Note. SQLines Online is a unrestricted version for EVALUATION USE ONLY. For use in projects, please obtain a license.
Oracle has web pages filled with information on this: Database Migration Technology which gives detailed instrctions and help for several different databases including MySql.
The main tool referenced: Oracle SQL Developer is free.

IntelliJ community Perforce plug-in [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a book, tool, software library, tutorial or other off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I used to love using IntelliJ but my new company doesn't spend money on IDEs. Now with the release of IntelliJ Community Edition, the only obstacle I have is that my company uses Perforce. Does anyone know if there are Perforce plug-ins that work with the Community Edition?
The obsolete VCS-based Perfoce plugin does not work at all.
The obsolete non-VCS-based PerforceDirectPlugin (http://plugins.intellij.net/plugin/?id=69) works partially with the Community Edition. Several operations don't work, presumably because the plugin API has changed. However, the basic Edit/Add/Revert/Sync operations work.
Integrating it into the Community Edition is another story. I'm used to "edit on type" so I habitually type return when the warning dialog comes up that the file I'm trying to edit is read-only. This is bad, because later it's difficult to find files I have accidentally edited using the file system, and check them out for edit in Perforce.
The other big missing piece is the VCS change bar on the left, which is very useful for seeing where you've changed a file and quickly going back to read/edit those changes.
The community edition is announced, not released, so it is a drop too early for that. There was a separate plug-in in older versions of IDEA, and I imagine when the community edition gets released and gets going, someone will write one.
There is a new Simple P4 Plugin. It only has the basic functionalities. I tried it it is pretty good. http://plugins.jetbrains.com/plugin/7420?pr=idea_ce