If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > MySQL > Combining MYSQL client, SERVER, UDFS into 1 SO/DLL

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-08-11, 17:45
frankc91 frankc91 is offline
Registered User
 
Join Date: Sep 2011
Posts: 3
Combining MYSQL client, SERVER, UDFS into 1 SO/DLL

We developed a C++ class algorithm and code together with sqlite3.c and the sqlite C/C++ UDFs. Everything is combined into a single DLL/SO.

Now we would like to change from SQLite to MySQL to take advantage of MySQL's ability to do parallel writes on separate threads.

We would like to combine our c++ algorithm class and the MySQL C client code,the MySQL 5.5.15 Community Server C/C++ Source Code and the MySQL C/C++ UDF's into a single DLL/SO. Is this possible?

If so, How can we do this? Is there a workaround? Thank you.
Reply With Quote
  #2 (permalink)  
Old 09-08-11, 20:26
frankc91 frankc91 is offline
Registered User
 
Join Date: Sep 2011
Posts: 3
MySQLsupport client conection to alocal MySQL server

Quoting from the MySQL :: MySQL 5.0 Reference Manual :: 4.2.2 Connecting to the MySQL Server URL


The following table shows the permissible --protocol option values and indicates the platforms on which each value may be used. The values are not case sensitive.
--protocol Value Connection Protocol Permissible Operating Systems
TCP TCP/IP connection to local or remote server All
SOCKET Unix socket file connection to local server Unix only
PIPE Named-pipe connection to local or remote server Windows only
MEMORY Shared-memory connection to local server Windows only

On Windows, the shared-memory name to use, for connections made using shared memory to a local server. The default value is MYSQL. The shared-memory name is case sensitive.
Reply With Quote
  #3 (permalink)  
Old 09-08-11, 21:26
frankc91 frankc91 is offline
Registered User
 
Join Date: Sep 2011
Posts: 3
It appears that MYSQL has a embedded MYSQL server

Good evening, It appears that MYSQL has a embedded Database server which can be combined with a SQL MySQL client library/DLL/SO.


19.7. libmysqld, the Embedded MySQL Server Library The embedded MySQL server library is NOT part of MySQL 5.0. It is part of previous editions and will be included in future versions, starting with MySQL 5.1. You can find appropriate documentation in the corresponding manuals for these versions. In this manual, only an overview of the embedded library is provided. The embedded MySQL server library makes it possible to run a full-featured MySQL server inside a client application. The main benefits are increased speed and more simple management for embedded applications.

Thank you.
Reply With Quote
Reply

Tags
linux, mysql client, mysql server, mysql udf, windows

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On