ThanosApostolou wrote:Or is there any easy way to include a newer mariadb like 10.2.12 in xampp folder (I need this to be easily achievable with all Operating Systems)? .
No. You cannot replace anything inside the Xampp folder. But you can replace MySQL/MariaDB at runtime, that means, simply install that MariaDB you need and at runtime do NOT start Xampps MariaDB, instead start the server of your installation. As PHP and MySQL/MariaDB communicate via TCPIP (usually localhost and Port 3306) there is nothing to be done, that should work out of the box.
Even PhpMyAdmin from Xampp may be used, but keep in mind, that the database is NOT Xampps database, it is the database of your own installation. You might have to adapt the UserID and password in config,ini.php (Xampp comes with default User "root" and no password).