In this article we will walk you through the steps on how to install LAMP (Linux, Apache, MySQL and PHP-FPM) on a Debian 8 VPS. A LAMP stack is a synonym of LAMP server or LAMP web server. It refers to a set-up which includes Linux, Apache, MySQL (MariaDB) and PHP. REQUIREMENTS We will be using our SSD 1 Linux VPS hosting plan for this tutorial. UPDATE THE SYSTEM Make sure your server is fully up to date using: # apt-get update && apt-get upgrade INSTALL APACHE To install Apache on your Debian 8 server, you need to execute the […]
A key theme of the MySQL Server 5.7 release is much improved security. Earlier releases of MySQL 5.7 have introduced features supporting this initiative including automatic generation and detection of TLS key material and client-side preference for TLS connections. The recent MySQL 5.7.8 release builds upon this and provides additional monitoring and audit capabilities that make it easy to answer the question: “How secure are my client connections?”.…
ConFoo is once more seeking passionate speakers for the upcoming conference.
The event is happening in Montreal, Canada, between February 24th and 26th, 2016. It is an exciting conference for web developers with speakers from all over the world. It unites many web programming languages under one roof, as well as other topics related to web development. The call for papers closes on September 20th.
ConFoo renews 50% of its speakers each year. If you’re new to this conference, you should definitely submit.
If you would just like to attend, there is a discount until October 13th.
I have three pieces of information to share about MySQL::Sandbox:
- Version 3.1.0 has migrated from Launchpad to GitHub
- This version is released under the Apache license. Both these changes are meant to improve and promote cooperation on the project.
- There is an important change related to usability. When using replication with MySQL::Sandbox and MySQL 5.6+, the server UUIDs become more readable (see below).
First, some words on the location changes. About two years ago, I started plans for a rewrite of MySQL::Sandbox. Then, I had some unexpected changes, which involved moving home to a different continent twice within twelve months. The project …
[Read more]CREATE FUNCTION SWAP_ENDIAN(inString text) RETURNS TEXT DETERMINISTIC -- Expects a hex string: AbCdEf -- Returns the string swapped for endianness: EfCdAb BEGIN DECLARE position INT DEFAULT 1; DECLARE holder TEXT DEFAULT ''; WHILE position
So you can do things like:
SELECT
FROM_UNIXTIME(
CONV(
SWAP_ENDIAN(
SUBSTRING(
HEX(
FROM_BASE64(
'Yk3XVQ8pAAAAZgAAAGoAAAAAAAQANS4xLjczLWxvZwAAAAAABBAAAAAAAAAAAAAAAA'
'AAAAAAAAAAAAAAAAAAAAAAAABiTddVEzgNAAgAEgAEBAQEEgAAUwAEGggAAAAICAgC'
)
), 1, 8
)
), 16, 10)
) AS event_timestamp;
It had been in the making for long time. Google announced that Google Code would be closing, and since then the Continuent team has been hard at work to handle the transition. You can guess it: this operation would have been quicker if it had been done by a small company like we were one year ago, but being part of a large corporation introduces some constraints that have affected our schedule.
However, our wish has always been, and still is, to keep Tungsten Replicator as an open source product, with full functionalities and with the full benefits that the open source development model offers.
Today, Tungsten Replicator is available on GitHub as …
[Read more]Thank you for attending my July 22 webinar titled “Advanced Query Tuning in MySQL 5.6 and 5.7” (my slides and a replay available here). As promised here is the list of questions and my answers (thank you for your great questions).
Q: Here is the explain example:
mysql> explain extended select id, site_id from test_index_id where site_id=1
*************************** 1. row ***************************
id: 1
select_type: SIMPLE
table: test_index_id
type: ref
possible_keys: key_site_id
key: key_site_id
key_len: 5
ref: const
rows: 1
filtered: 100.00
Extra: Using where; Using index
why is site_id a covered index for the query, given the fact that a) we are selecting “id”, b) key_site_id only …
[Read more]There are a lot of blog posts on the internet which warn you about using the Query Cache in MySQL.
I was surprised to see that the query cache was enabled in Aurora.
This was the size on a ‘db.r3.large’ instance.
On a ‘db.r3.2xlarge’ instance, it was set to 2460900352 i.e. 2.4GB
I am not sure, if amazon has done something to improve the query cache.
So, do run tests with Aurora and see if the cache suits you.
This blog describes how the Address Sanitizer found bugs in the TokuFT
(now PerconaFT) storage library. TokuFT is the
storage library used by the TokuDB for MySQL and TokuMX for MongoDB products. TokuFT is
currently tested with valgrind's memcheck tool. However, memcheck
is very slow compared to native execution, so memcheck is not
always used for large tests. This leads to missed
bugs.
The Address Sanitizer is a memory …
Reprint a PDF for MySQL Injection Test