Standalone Library to Connect to MySQL Server [closed] - mysql

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.

Related

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

Erlang MySQL Library for ejabberd [closed]

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

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.

SQLYog-Like MySQL GUI For Linux? [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 am looking for a MySQL GUI for Linux (am Using Ubuntu 10.04). Don't need anything fancy -- just the ability to easily create databases / tables, be able to manually set values for table rows, run queries and see their results etc.
Any suggestions?
You could use MySQL Workbench :
it works on both Linux and Windows
There is a free / community version
It's a GUI, and includes, at least :
create / alter table using a graphical interface
run queries / see their results
And there are also features that will help you create a graphical table's model -- and it'll generate the SQL to create the tables of that model.
Take a look at Navicat Lite:
Link
Works on Windows, Linux, OS X
Free and payed version

MySQL Query Browser alternatives [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 usually use MySQL Query Browser for my queries, but I always run into issues with the connections timing out and the Query Browser locking up, so I'm looking into alternatives. The new MySQL Workbench is much too slow and heavyweight, I prefer that the Administrative tools and the Query tools are separate (although it wouldn't be as much of a problem if the application wasn't so slow). I run on Ubuntu 10.04 x64. I'd like to avoid Windows/Wine-based solutions as much as possible. I also have had bad experiences (slow, buggy) with JVM-based MySQL applications, although perhaps other people know more lightweight ones.
I want something lightweight that can show me the schemas, tables, and column tree, and present a decent UI for editing tables.
Any suggestions would be appreciated.
I realize you want to avoid wine, but this might be a good suggestion for you as a free tool.
http://www.heidisql.com/
Although it does run on Java and may not be the prettiest thing ever, I pretty much always use Squirrel SQL client. If you haven't tried it, I recommend looking at it.
Squirrel SQL Client
+1 for HeidiSQL. On Arch Linux very easy to install. Get tarball from AUR;
Extract tarball to a directory.
In that directory: makepkg -s
After building package, install it with: pacman -U packagename
It works perfectly with wine. After trying some sql editors (Oracle SQL Developer, DBVisualizer, MySql Workbench) this was the best choice for me. Lightweigth & fast.