In Nowdays Social authentication is important to implement in website because nowdays most of the users or developer etc will connected with Social network like facebook twitter google gitbub etc So In this post i want to share with you how to do sign in with facebook and how to do sign up wi
One of our customers recently ran into a problem, where he wanted to have a preferred donor for SST, whenever a node came up. The problem was, that the node did not come up, when the preferred donor was not running.
In the documentation, you can find the parameter
wsrep_sst_donor, which prefers the specified node as
SST donor. This is great, as long as the donor is actually
running.
The problem can be fixed by adding a comma to the end of the
value of wsrep_sst_donor, what would look like this:
wsrep_sst_donor="galera2,"
Note the comma at the end of the value. This trailing comma
basically tells this node, that galera2 is the
preferred donor, if galera2 is not available, any
other available node will be used as donor.
You could also …
[Read more]
"Latest symlink"A "latest" symlink, is a symbolic link (on Linux,
Unix etc) which links to the "latest" version of a file.
Suppose we have a file which takes some effort to create, which
is generated periodically or in response to some stimulus (e.g.
user activity). Then we want to create a "latest version"
symlink.
Ideally the properties should be
- latest symlink always points at the latest version (duuh!)
- latest symlink always exists
- latest symlink never points at a partially completed, broken, missing or otherwise bad file
Sometimes people do this in a way which won't work.
How to create a symlinkDead easy, right? Just call the "symlink"
function.
int symlink(const char *oldpath, const char
*newpath);
DESCRIPTION
symlink()
creates a symbolic …
In this post i want to share with you how to set android home environment variable in ubuntu os when i fatch this issue i tired to solve this issue because when i run my app i always found following error preThe ANDROIDHOME environment variable is not set or it points to a nonexistent direct
Some case we have enough space to display content for example you have articale blog and you want to display saveral articale on homepage with limited content like this way preLorem ipsum dolor sit amet consectetur adipisicing elit sed do eiusmodtempor incididunt ut labore et dolore magna a
Vsftpd is one of the most secure and fastest FTP servers for Linux. Usually vsftpd is configured to work with system users. This document describes how to install a vsftpd server that uses virtual users from a MySQL database instead of real system users. This is much more performant and allows to have thousands of ftp users on a single machine.
If you are new and you want to get attribute value then you can get easily sometime maybe we also need to get custom attribute value i mean data attribute value In following example i give you three way to get custom attribute value in jquerystrong classexampleExamplestrongpre class
The classic MySQL command line tool is how most users – developers and administrators – interact with a MySQL server. From administrative tasks to trying out queries, it wouldn’t be far-fetched to call it the face of MySQL.
With a new programming interface built into the MySQL Server, we need to properly support it at the client side in connectors, tools and of course, the command line client.…
Thu, 2016-04-14 08:27markusmakelaNew and Improved Functionality
The recently released 1.4.1 version of MariaDB MaxScale contains a bundle of great improvements to the Database Firewall Filter, dbfwfilter. This article starts by describing the dbfwfilter module and how it is used. Next we’ll find out what kinds of improvements were made to the filter in MaxScale 1.4.1 and we’ll finish by looking at a few use cases for it.
Here are the highlights of the new dbfwfilter functionality in the 1.4.1 release of MaxScale.
- Configurable filter actions on rule match
- Allow the query, block the query or ignore the match
- Logging of matching and/or non-matching queries
With these new features, you can easily implement various types of configurations including a dry-run mode where no action is taken but all matching and non-matching queries are …
[Read more]