Showing entries 7981 to 7990 of 44041
« 10 Newer Entries | 10 Older Entries »
Digging Down into JSON data with the MySQL Functions -- A Question from Peter Zaitsev -- Follow Up

Last time this blog covered digging into a JSON document in a MySQL 5.7 table. The goal was to pull certain records matching a particular criteria. Both Peter Zaitsev and Morgan Tocker get my thanks for their kind comments. My example was a little contrived in that an application would be used to fine tune seeking for a particular key value pair. I was trying to pull single records which is kind of silly when it is much easier to use PHP to parse the data. What follows below is a sample PHP script to grab out the matching records and then feed the results, the JSON document, into an array.


#!/usr/bin/php
<?php
$mysqli = new mysqli("localhost", "root", "hidave", "test");

/* check connection */
if (mysqli_connect_errno()) {
printf("Connect failed: %s\n", …
[Read more]
Working With JSON Data In MySQL - Part 1 of 3

This is the first in a series of posts about the MySQL JSON data type, how it compares to working with a document-oriented store like MongoDB, and how we can make use of it in the Laravel framework.

  • Part 1 is a quick look at the data type itself, and some of the functions available to work with that data. Specifically, we’ll focus on what kind of data to store and how to work with it, regardless of framework.

  • In Part 2 we’ll walk through which MongoDB patterns can be replicated in MySQL with the JSON type, as well as what can’t. We’ll also check out some alternative strategies for document-oriented storage using MySQL as a backing store.

  • Lastly, Part 3 will focus on using the JSON data type in Laravel applications, what contexts it is best suited for, and I’ll take a stab at some simple code you can use to …

[Read more]
Laravel 5 custom pagination view example

laravel default also provide pagination view using bootstrap design like next and previous button and number page with link but it is a very comman and generally used by most of developer If you want to change it using Presenter class of laravel you can set your own custom view for your paginatio

Plenty of 9s for MongoDB & MySQL at Percona Live 2016

The MySQL User Conference has a been fixture in all our calendars for many years now and every year, Santa Clara calls us back … The conference has evolved of course since its inception and yet stays the same, its original premise alive and kicking: a place to get together and exchange on MySQL and open source database knowledge and experiences! And today it’s called the Percona Live Data Performance Conference!

This year, the conference is really opening itself up to become inclusive of not only MySQL-related technologies and topics and go wide into MongoDB and Big Data territories as well. So there should be something new for everyone who’ll be attending and the programme looks quite promising indeed.

As in the previous two years, our team will be providing the necessary 9s for this year’s conference in the form of two talks and a …

[Read more]
General Tablespaces in MySQL 5.7 – Details and Tips

InnoDB in MySQL 5.7 introduced for the first time the ability to create a general tablespace and assign multiple tables to it.  These tablespaces can be assigned anywhere on the system.  They can even be assigned a smaller block size so that they can contain compressed tables that use that size as their key_block_size.…

How to remove particular value from jquery array

When i was working on my code PHP project at that time i need to remove specific items value from my javascript array i did google search and solve that but i would like to share in my site how to remove value from javascript array so lets see how to usestrong classexampleExamplestron

TokuDB impacts InnoDB Performance?

This blog discusses how TokuDB impacts InnoDB performance when the two run in the same environment.

You would think MySQL storage engines are fairly independent of each other, even in the same environment. Enabling one, or changing its configuration, logically should have no impact on the performance of other engines (such as InnoDB) when they are accessing tables. The reality, however, is more complicated than that!    

Now that we’ve shipped TokuDB, we’ve been getting feedback from our community and customers that enabling TokuDB might negatively affect performance – even for queries that don’t touch TokuDB tables (and in some cases, even when TokuDB is kept completely idle).

[Read more]
How to install LEMP (Linux, nginx, MySQL, PHP) stack on openSUSE

In today’s simple article we will cover the steps needed for installing and configuring a basic LEMP stack on a openSUSE VPS. A LEMP stack is a synonym of LEMP server or LEMP web server. It refers to a set-up which includes Linux, Nginx, MySQL (MariaDB) and PHP. REQUIREMENTS We will be using our SSD 1 Linux VPS hosting plan for this tutorial. Log in to your server via SSH: # ssh root@server_ip Before starting, enter the command below to check whether you have the proper OS version installed on your machine: # cat /etc/issue which should give you the […]

Laravel clear cache from route view config and all cache data from application

In this post i would like to share my experience and solution when i was working on my laravel e commerce website with gitlab I was fetching one issue suddenly my view cache with error during development i did try lot to refresh and something other but i cant see any more change in my view but

New Whitepaper: MySQL Replication for High Availability

MySQL Replication is probably the most popular high availability solution for MySQL, and widely used by top web properties like Twitter and Facebook. Although easy to set up, ongoing maintenance like software upgrades, schema changes, topology changes, failover and recovery have always been tricky. At least until MySQL 5.6.

Having recently discussed deployment and management of MySQL replication topologies, we’re now making this handy whitepaper available to all those of you who are currently working with or intending to work with MySQL Replication.

Our new whitepaper covers all you need to know about MySQL Replication, including information on the latest features introduced in 5.6 and 5.7. It also …

[Read more]
Showing entries 7981 to 7990 of 44041
« 10 Newer Entries | 10 Older Entries »