How to compile the dynamic library(.so) when developing a MariaDB plugin? - plugins

I clone MariaDB Server's source code from github, and I want to write an encryption plugin for it. But, I do not know how to get the dynamic library file of my plugin. Please help me.
MariaDB version: 10.8
OS: Ubuntu 18.04

Related

Where does jetbackup install on CentOS 7?

My server can not connect to jetbackup repository and I need to install S3 plugin. It's available on github and repo to download. So how can I install plugin without using repository? I mean where should I extract plugin zipfile on server?
http://repo.jetlicense.com/plugins/
OS : CentOS 7 , 64bit
Where is the jetbackup installation folder on server anyway?
Also if I can use a proxy even on my other server as a temporary proxy may solve the problem. a link of tutorial will do.
Thanks a lot

node-red: Failed to install node-red-contrib-db2-for-i package

hi need some help please, i try to install the node-red-contrib-db2-for-i package on node-red (i used node red as a service on ibm cloud) but it fail. i have this bug :Failed to install: node-red-contrib-db2-for-i.
That package is explicitly for connecting to IBM DB2 running on iSerise and need Node-RED to be running on iSerise hardware as well.
It will NOT run on a x64 Linux machine.
From the README for the node:
Prerequisites
If you use the latest package version (>=0.1.5) :
5733OPS is not used anymore (Deprecated). A prerequisite is to install
the Node.js iDB Connector idb-connector (done automatically when
installing this package if not already present) with Node.js (version
8 and later) using a yum install. This node has to run on Node.js /
Node-RED on IBM i (Native driver) but there will be soon an ODBC
alternative :)

Using nodeclipse with docker instead of local nodejs installation

currently I'm evaluating, how to setup my web development infrastructure using docker.
I would like to use eclipse with nodeclipse, but I don't want to install nodejs locally. Additionally I don't want to use Eclipse Che.
So my question is, if it is possible to configure eclipse that I use a docker-container including nodejs?
The biggest challange currently is, that without nodejs I get error messages in my typescript code, that my imported packages can't be found.
Thank you for your help :)

Eclipse - MariaDB JDBC onnection issue (bug or I messed up something?)

I started learning Java EE, and I decided to develop my small application in simulated "real world production" environment:
I decoupled the development and deployment environment into a laptop (with Eclipse IDE) and a server (Raspberry Pi with Tomcat/TomEE and MariaDB).
With this environment I can learn not only EE development but the deployment phase, too.
The problem
After installation of MariaDB I realized that the MariaDB's JDBC connector doesn't work properly. I successfully made a connection in Eclipse via Generic JDBC (I used MariaDB's default connector). Pinging the server was also successful, but every query returned void results.
I tried the following queries:
show tables in dbName;
select * from tableName;
show databases;
When I tried to make entities from tables in a new JPA project, Eclipse didn't offered any tables.
Can somebody please help me to make a complete working connection to MariaDB.
What did I try (until this moment, without result)?
Updated the Raspbian system by apt-get update, moreover I did the same after installing MariaDB.
Tried to install MySql 5.6 with apt-get and dpkg, but the armhf version is not available on Raspbian Stretch
In Eclipse's Preferences/Data Management/Connectivity/Driver Definitions I tried to install MySql driver instead Generic JDBC
In properties (in Edit Driver Definition) tried the following Connection URL-s:
jdbc:mysql://hostName:port/
jdbc:mariadb://hostName:port/
jdbc:mysql://hostName:port/dbName
jdbc:mariadb://hostName:port/dbName
jdbc:mysql://hostName:port/dbName?user=userName&password=password
jdbc:mariadb://hostName:port/dbName?user=userName&password=password
Tried older version of JDBC connectors, too (mariadb-java-client-2.1.0.jar), without good result.
I installed MySQL on local machine, I could connect it in Eclipse successfully.
I could successfully connect, create, insert, alter tables in MariaDB from locally installed MySqlWorkbench.
I installed MariaDB on local machine. Despite the connection ping was successful in Eclipse, the void query result was the same as the remote MariaDB connection.
I installed NetBeans to check whether I can connect MariaDB with it's driver. The result was SUCCESS (screenshot is attached)
One more weird thing: in Data Source Explorer the tree structure is different between MySQL and MariaDB (see the screenshot)
The environment
Server:
Raspbian Stretch (Debian 9.1)
Java: openJKD 1.8.0_141, OpenJDK Runtime Environment build 1.8.0_141-8u141-b15-1~deb9ul-b15, OpenJDK Zero VM build 25.141-b15-1~deb9ul-b15
MariaDB Ver 15.1 Distrib 10.1.23-MariaDB, for debian-linux-gnueabihf (armv71)
Local machine:
Windows 10 Pro 64bit, version: 1703, build: 15063.674 (Hungarian language local)
MySqlWorkbench 6.3CE, 6.3.9 build 10690321 CE(64 bits)
Eclipse Neon.3 Release (4.6.3), Build id: 20170314-1500
NetBeans IDE 8.2, Build 201705191307
Java: JDK 1.8.0_151 (x86_64 architecture)
JDBC: mariadb-java-client-2.1.2.jar (This worked successfully with NetBeans)
To summarize, in Eclipse I can make a connection to MariaDB via Generic JDBC, the ping is successful, but I cannot get any result from queries (and cannot generate entities from tables).
Solved:
In Eclipse you don't have to use MariaDB's JDBC 2.1.2. connector. It is fully MySQL compatible just use MySQL JDBC 5.1 default (mysql-connector-java-5.1.41-bin.jar). Now it works fine!

CRXDE Repository Login Issue

I am getting a strange error when I try to login to the CRXDE Development Environment. Through the browser, CRXDE Lite is working fine.
Could not connect. Please check your connection settings.
I have downloaded the setup from the following link and tried to run all three Mac compatible version but all versions throwing the same error. Does anyone know the solutions?
https://docs.adobe.com/content/docs/en/crx/2-3/developing/development_tools/developing_with_crxde.html
I have OS X Yosemite (Version 10.10.5)
Localhost address is http://localhost:4502
AEM Version: 6.2
User Name: admin
Password: admin
CRXDE is deprecated and should not be used. The product was a fork of Eclipse made specifically for CQ. You should use the latest version of Eclipse with the AEM plugin instead.
You can also use IntelliJ if that is your IDE of choice.