FreeTDS is a set of libraries for Unix and Linux machines to use Microsoft SQL server and Sybase databases
[Fre16].
FreeTDS C libraries are free, opensource, and distributed under GNU LGPL license.
In this article, I will discuss about using MS SQL server located on a Windows machine which is installed
using mixed mode authentication.
The MS SQL server must be configured to allow remote connection with TCP/IP using username and password.
That MS SQL server is to be connected and used from a Linux machine using FreeTDS.
MS SQL server is a result of cooperation between Microsoft and Sybase.
Therefore, their SQL servers are quite similar and the communication protocols are almost identical.
That protocol is called Tabular Data Stream (TDS).
The project for open source implementation of TDS is started by Brian Bruns and it is called FreeTDS.
Showing posts with label Database. Show all posts
Showing posts with label Database. Show all posts
Friday, October 5, 2018
Thursday, October 4, 2018
MySQL Connector C++ 8.0 with wxWidgets
Let us discuss about using MySQL Connector C++ 8.0 with wxWidgets.
Details about setting up and using wxWidgets, and MySQL server and connector can be found at the following links.
ceMySQL.h Cross-platform C++ programming with wxWidgets
Using MySQL Database with C++ on Various Platforms Including ARM Single Board Computers
For this example, by using MySQL Workbench, we will create a database called 'mytest' and a table called 'mytable' in the MySQL server that is to be connected and used.
ceMySQL.h Cross-platform C++ programming with wxWidgets
Using MySQL Database with C++ on Various Platforms Including ARM Single Board Computers
For this example, by using MySQL Workbench, we will create a database called 'mytest' and a table called 'mytable' in the MySQL server that is to be connected and used.
Friday, August 10, 2018
Using MySQL Database with C++ on Various Platforms Including ARM Single Board Computers
In this article, I would like to discuss about using MySQL database with C++.
MySQL is an open source database management system from Oracle.
It not only has freely available version but it is also robust and works on most platforms.
MySQL server can run even on a small 32 bit ARM Single Board Computer (SBC) like Odroid.
It has a lot of functionalities, and user interface too.
That is why, I like to use MySQL database server as an example to be used with C++.
MySQL server can be used as a traditional relational database or a document store where there is no need to define schema, called NoSQL. In a relational database, all the columns of the tables need to be defined in advance. But in a document store, the schema is flexible where it is represented by JSON objects. In order to utilize the advantages of power of relational model and flexibility of the document store, using X DevAPI in C++ applications is discussed.
MySQL server can be used as a traditional relational database or a document store where there is no need to define schema, called NoSQL. In a relational database, all the columns of the tables need to be defined in advance. But in a document store, the schema is flexible where it is represented by JSON objects. In order to utilize the advantages of power of relational model and flexibility of the document store, using X DevAPI in C++ applications is discussed.
Subscribe to:
Posts (Atom)
