In this post we have learn how to import CSV file using LOAD DATA INFILE statementthis is a very simple example for a import file to the databaseHere we have provide a full sysntax for LOAD DATA INFILE statementstrongSysntaxstrongpre classlanguagemysqlLOAD DATA LOWPRIORITY C
In this post we have learn how to import CSV file using LOAD DATA INFILE statementthis is a very simple example for a import file to the databaseHere we have provide a full sysntax for LOAD DATA INFILE statementstrongSysntaxstrongpre classlanguagemysqlLOAD DATA LOWPRIORITY C
That means we’ve accomplished all our planned overhauls of client APIs and backward-incompatible protocol changes. See the release notes for what’s new. We’re now working closely with several users who are evaluating Vitess and providing feedback on the use cases that are important for their particular applications and production environments. If you’re at the same stage, we welcome you to join the discussion by posting on the mailing list. We’re also trying out Slack for more conversational topics.
Unfortunately (or fortunately?), no privilege is required to execute native functions (including SLEEP).
The SLEEP() attack can be dangerous. Think about websites: if SQL is injected into the SQL queries that read data necessary to make the home page appear, and there is no caching system, no user will be able to see the home page for X seconds.
If you don’t trust your applications, IMHO, there is only one way to prevent those attacks: on MariaDB and old MySQL versions, it’s MaxScale; on MySQL 5.7 it’s the query rewriting plugin.
Another way could be only GRANTing the permission to execute stored procedures… but if you can do that, your company has control on the applications, so simpler solutions are possible.
Once again, Pythian is organizing an event that by now may be considered a tradition: The MySQL community dinner at Pedro’s! This dinner is open to all MySQL community members since many of you will be in town for Percona Live that week. Here are the details:
What: The MySQL Community Dinner
When: Tuesday April 19, 2016 – 7:00 PM at Pedro’s (You are welcome to show up later, too!)
Where: Pedro’s Restaurant and Cantina – 3935 Freedom Circle, Santa Clara, CA 95054
Cost: Tickets are $40 USD, Includes Mexican buffet, non-alcoholic drinks, taxes, and gratuities (see menu)
How: Purchase your ticket below …
[Read more]New MySQL version, YAY!
MySQL 5.7 is full of new features, like virtual columns, virtual indexes and JSON fields! But, it came with some changes to the default configuration. When running:
SELECT @@GLOBAL.sql_mode;
We get:
ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION
What I want to talk about is the ONLY_FULL_GROUP_BY
mode. This mode rejects queries where nonaggregated columns are
expected, but aren’t on the GROUP BY
or
HAVING
clause. Before MySQL 5.7.5,
ONLY_FULL_GROUP_BY
was disabled by default, now it
is enabled.
You know the drill…
This is a simple statement, people use it everywhere, it shouldn’t be that hard to use, right?
Given the following schema:
Suppose I want to list all users that commented on …
[Read more]Maintaining mission critical databases on our pitchfork wielding brother, the “Daemon” of FreeBSD, seems quite daunting, or even absurd, from the perspective of a die-hard Linux expert, or from someone who has not touched it in a long time. The question we ask when we see FreeBSD these days is “why?”. Most of my own experience with FreeBSD was obtained 10-15 years ago. Back then, in the view of the team I was working on, a custom compiled-from-source operating system like FreeBSD 5.x or 6.x was superior to a Linux binary release.
Package managers like YUM and APT were not as good. They did not always perform MD5 checks and use SSL like today’s versions. RedHat wasn’t releasing security updates 5 minutes after a vulnerability was discovered. Ubuntu didn’t exist. Debian stable would get so very old before receiving a new version upgrade. FreeBSD was a great choice for a maintainable, secure, free open …
[Read more]Custom Validation Rule is very usefull and interesting concept of laravel 5 because custom validation throught we can reuse validation and use it easily by just name as like laravel core validationrequiredsamein etc So In this post i am going to show you how to create custom validation rules
A couple of weeks ago we announced that we were moving from a hosted instance of JIRA to our self hosted instance. The main reason was that we hit 2000 active users in the hosted instance of JIRA and that is the upper limit that it supports. We obviously wanted to allow more people to […]
The post Eating our own dog food – Running JIRA on MariaDB appeared first on MariaDB.org.
Welcome to this week’s Planets9s, covering all the latest resources and technologies we create around automation and management of open source databases.
Sign up for our best practices webinar on how to upgrade to MySQL 5.7
Join us on Tuesday, March 15th for this new webinar on best practices for upgrading to MySQL 5.7 led by Krzysztof Książek, Senior Support Engineer at Severalnines.
MySQL 5.7 has been around for a while now, and if you haven’t done so yet, it’s probably about time to start thinking about upgrading. There are a few things to keep in mind when planning an upgrade, such as important changes between versions 5.6 and 5.7 as well as detailed testing that needs to precede any upgrade process. Amongst other things, we’ll look at how to best research, prepare and perform such tests before the time comes to finally …
[Read more]