Results 1 to 3 of 3
  1. #1
    Join Date
    Sep 2011

    Unanswered: 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.

  2. #2
    Join Date
    Sep 2011

    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.

  3. #3
    Join Date
    Sep 2011

    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.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts