MariaDB 10
-
Topic author - Valued Contributor
- Posts: 91
- Joined: Fri Jul 12, 2019 1:59 pm
- Reputation: 0
- Location: Netherlands
- Status: Offline
- Contact:
MariaDB 10
The currrent version of MariaDB on VMS is 5.5 (the basic offfspring of MySQL 5.5) but this is quite out-of-date. Current open source programs often require MariaDB 10, more precise: 10.6. Is there a chance that VSI - or any C/C++ guru - will port this to VMS?
(I have no knowlegde of DB internals or C/C++, so I cannot do this)
(I have no knowlegde of DB internals or C/C++, so I cannot do this)
Last edited by willemgrooters on Fri Sep 16, 2022 12:23 pm, edited 1 time in total.
-
- Senior Member
- Posts: 624
- Joined: Fri Apr 17, 2020 7:31 pm
- Reputation: 0
- Location: Rhode Island, USA
- Status: Offline
- Contact:
Re: MariaDB 10
According to Mark Berryman in some old comp.os.vms thread then newer MariaDB versions require a newer C++ standard than what the traditional VMS C++ compiler supports, so we have to wait for CLang on VMS x86-64.
-
- Site Admin
- Valued Contributor
- Posts: 96
- Joined: Tue May 21, 2019 6:56 am
- Reputation: 0
- Status: Offline
Re: MariaDB 10
Willem,willemgrooters wrote: ↑Fri Sep 16, 2022 12:23 pmThe currrent version of MariaDB on VMS is 5.5 (the basic offfspring of MySQL 5.5) but this is quite out-of-date. Current open source programs often require MariaDB 10, more precise: 10.6. Is there a chance that VSI - or any C/C++ guru - will port this to VMS?
(I have no knowlegde of DB internals or C/C++, so I cannot do this)
Generally, Arne is right. Until a newer C++ standard is available on OpenVMS, it is impossible to port MariaDB 10.x. As soon as Clang reaches maturity on OpenVMS, we will definitely look at porting MariaDB 10.
Run to the bedroom, In the suitcase on the left You'll find my favorite axe.
-
- Active Contributor
- Posts: 44
- Joined: Tue Jan 10, 2023 10:41 am
- Reputation: 0
- Location: Waterloo, Ontario, Canada
- Status: Offline
- Contact:
Re: MariaDB 10
At this point in time I would gladly accept mariadb-5 for no other reason than to install the client software so that I can connect to a remote database (MariaDB or MySQL) from DCL. As I understand it, a C11 compatible C compiler is not required to build mariadb-5
-
- Valued Contributor
- Posts: 54
- Joined: Sat Sep 02, 2023 1:31 pm
- Reputation: 0
- Location: Colorado Springs, CO, USA
- Status: Offline
Re: MariaDB 10
I have reported a couple of bugs on the C compiler. I can't build MariaDB until they are resolved. I'll be trying again once the next update is released.
-
- Master
- Posts: 102
- Joined: Wed Apr 05, 2023 9:22 am
- Reputation: 0
- Location: Glasgow, Scotland
- Status: Offline
- Contact:
Re: MariaDB 10
Do we know what the current set of blockers are to achieving this?
Last edited by issinoho on Sun Nov 24, 2024 10:11 am, edited 1 time in total.
-
- Valued Contributor
- Posts: 54
- Joined: Sat Sep 02, 2023 1:31 pm
- Reputation: 0
- Location: Colorado Springs, CO, USA
- Status: Offline
Re: MariaDB 10
I have been able to release the clients for MariaDB 10 but the server requires support for thread local storage which I have not yet been able to completely work around. I do not know how high on the priority list this is for the C++ compiler. The server also mixes C++ calls for threads and pthread calls for threads.
The server also makes extensive use of signals, which are thread-specific on Unix but process-wide on VMS. (Perhaps that is why we do not have pthread_kill?). Part of the issue here is that threads are started all over the place which makes it difficult to instantiate anything VMS-specific to address these issues.
The server also makes extensive use of signals, which are thread-specific on Unix but process-wide on VMS. (Perhaps that is why we do not have pthread_kill?). Part of the issue here is that threads are started all over the place which makes it difficult to instantiate anything VMS-specific to address these issues.
-
- Senior Member
- Posts: 624
- Joined: Fri Apr 17, 2020 7:31 pm
- Reputation: 0
- Location: Rhode Island, USA
- Status: Offline
- Contact:
Re: MariaDB 10
I suspect that TLS will eventually show up. It is needed by more than MariaDB.
In the mean time what about a 5.x build for VMS x86-64? Possible?
In the mean time what about a 5.x build for VMS x86-64? Possible?
Last edited by arne_v on Sun Nov 24, 2024 1:50 pm, edited 1 time in total.
-
- Active Contributor
- Posts: 44
- Joined: Tue Jan 10, 2023 10:41 am
- Reputation: 0
- Location: Waterloo, Ontario, Canada
- Status: Offline
- Contact:
Re: MariaDB 10
Sorry for replying to my own post, but VSI has already presented some alternatives that I previously missed:neilrieck wrote: ↑Fri Nov 03, 2023 10:26 amAt this point in time I would gladly accept mariadb-5 for no other reason than to install the client software so that I can connect to a remote database (MariaDB or MySQL) from DCL. As I understand it, a C11 compatible C compiler is not required to build mariadb-5
(1) this open source offering ( https://vmssoftware.com/products/libmariadb/ ) provides MariaDB client-only software for all OpenVMS platforms except VAX. With it you should be able to connect to a remote MySQL or MariaDB server running on any other system (we are currently running several MariaDB-10 databases on AlmaLinux which are accessed from our primary business system running on OpenVMS)
(2) this open source offering ( https://vmssoftware.com/products/mariadb/ ) provides a MariaDB-5 client and server for OpenVMS Itanium. If you still need AXP support then try Mark Berryman's site: https://theberrymans.com/php_kits/
Note: Mark's site also contains a MariaDB-10 client that I was able to link against from C on x86-64
ps. More than 5-years ago I wrote some C routines that link against Mark's MariaDB-5 client libraries. Then I created some uglier code which allows me to call these routines from VMS-BASIC (the linker process is now bizarre and includes SSL libraries). That work was never intended to be used for more than 12-months but it is now 2025 and the stuff is still in production. Even though we will probably replace that BASIC program with something written in Python (where interfacing with MariaDB is child's play), I got my my temporary BASIC-C stuff working with both libmariadb (from VSI) and Mark's newer MariaDB-10 client (on both Itanium and x86-64)
Last edited by neilrieck on Fri Jan 03, 2025 10:58 am, edited 1 time in total.