How to set innodb-memcached(used in MySQL 5.6) on MariaDB 10.x? - memcached

Is it the same as mysql?
MariaDB []> install plugin daemon_memcached soname "libmemcached.so";
Please help me I'm confused how to set it in MariaDB..

I thought MariaDB can not really support memcached until now, MariaDB 10.0.
There some configuration items related with memcached, but not support yet.
https://mariadb.com/kb/en/mariadb/xtradbinnodb-server-system-variables/#innodb_api_bk_commit_interval

Related

Create Strapi App, no option for mongoDB on custom installation type

When attempting to create a Strapi App which is connected to a MongoDB cluster and selecting the custom installation, all online tutorials suggest that "mongodb" should be one of the options in the dropdown list alongside "postgres", "mysql" and "sqlite". However, I am not getting an option for mongodb.
I have tried reinstalling nodejs which then triggered the reinstall of create-strapi-app. I also have mongoDB installed locally.
Strapi has abandoned its support for NoSQL DBs. The MongoDB team might (if at all) write their own connector to MongoDB, however ETA is around July, and stable version ETA is around August.
SQLite is now the default DB. However I believe they recommend using PostgreSQL for production.
try with v3
npx create-strapi-app#3.6.8 fileName
Is running well with MongoDB
This worked for me guys,
Install strapi locally to your system using npm i strapi#alpha -g
Run mongodb locally on your system.
Use strapi new <project name> for creating a new project.
Choose your installation type as "custom"
This will avail "Mongo" on the list of supported Databases for Strapi.
Hope this will work for everyone.
Thanks
Reference:
https://strapi.gitee.io/documentation/3.0.0-alpha.x/guides/databases.html#mongodb-installation

PostgreSQL 9.4 to 9.5 upgrade

i have a dotnet client application with PostgreSQL 9.4 as my backend database.
When i upgrade my PostgreSQL 9.4 to 9.5 , should i not change anything in the dotnet client application to make it work with the 9.5 version of postgreSQL ?
Please help
At this point, do not upgrade to 9.5.
The release notes contain a comprehensive list of all incompatibilities that would help you.
At any rate, you need to test your application thoroughly, no matter what.

Postgres version compatibility

I was using PostgresSQL version 9.6 with JDBC driver 9.4-1206-jdbc42 to connect to Java. I was using the SimpleJDBCCall of Springs to connect to the database.
However, after the upgrade of PostgreSQL to 10.5, we are unable to use the SimpleJDBCCall API. Any light on this issue will be of great help.
You should never use a version of the JDBC driver that is older than the PostgreSQL server release.
The recommendation is to always use the latest driver version. A new driver will know how to talk to an old server, while an old driver might not know how to talk to a new server.

PostgreSQL default cluster?

I am running PostgreSQL 9.3 on Ubuntu 14.04 LTS. I didn't remember creating a cluster but directly went to create database.
Using pg_lsclusters, I found that I have a cluster as following with my db
Ver Cluster Port Status Owner Data directory
9.3 main 5432 online postgres /var/lib/postgresql/9.3/main
I was reading the PostgreSQL documentation but couldn't find relevant info.
I have the following questions:
Does PostgreSQL automatically create default cluster? And if so, is it good practice to use it?
Does PostgreSQL also automatically start the default cluster? I never started but its status is online and I can see it in system-monitor.
Thanks for any clarifications!
You're really asking about "PostgreSQL on Debian or Ubuntu", as it's the packaging and wrapper utilities doing this, not PostgreSQL its self.
See the PostgreSQL help on the Ubuntu community wiki for information. This mostly applies to Debian too, since it uses the same style of packaging for PostgreSQL.
To your specific questions:
Does PostgreSQL automatically create default cluster? And if so, is it good practice to use it?
Strictly pg_wrapper, the Ubuntu/Debian tool that manages PostgreSQL installs, creates it. Yes, it's fine to use it and there's generally not much reason not to.
Does PostgreSQL also automatically start the default cluster?
This depends on your operating system and its PostgreSQL packages, not on PostgreSQL its self. For information on how to configure what starts on Ubuntu, see Boot Howto - Ubuntu Community Wiki.

ZendServer CE - change database type?

I am using the trial version of the Zend Server edition. From all the videos/documentation supposedly you are able to change the database version from SQLITE to MySQL, but all I get when deploying an application on Zend Server is to set the Host, Database name, username and password?
Just install mysql on your system and use it. ZendServer does not care what database engine you use. When installing Zend Server it is supposed to ask if you want to install mysql (possibly you have to chose manual installation or custom or extra stuff) you might of mised that option so perhapds reinstalling is the simpler solution.
But really, you should be able to just install mysql and start using it.