Most of time we work on backend and we require to redirect route or url from controller with pass query string parameter so laravel provide very simple way to pass query string parameter with redirect route In following example you can see how it is possibleIn Bellow example you can see i did
Sometimes we work on big php or other framework projects and we need to change array value as array key at that time you can learn from this post In this example you can do that without foreach loop For example if you have all country array but that array have key like 1234 etc and value is
A very interesting article on testing and coding illustrating
many simple tips, important points:
- why one should test and code
- what one should test
- how and what kind of testing one can provide
- what one should not test
- how important testing is
- and others
If you are new to testing, it is a good place to start. Overall
as the title of the article says "Why and how testing can make
you happier", so it is time to be happy :D
Interesting read it makes. Hope you enjoy it too as I have
:)
http://mikbe.com/code/testing/dx/2016/03/11/why-and-how-testing-can-make-you-happier.html
Thank you for your comments. Yes, you can add a new master to the
same slave as needed via:
change master to master_host=”, master_user=’rpl’, master_port=,
master_auto_position=1 for channel “”;
start slave for channel “”;
For the my.cnf on the other post on multi-source I did after this
one, you can see an example of the mysqld_multi usage there,
explaining what mysqld3001, mysqld3002 and so on are, and what
changes between them all. Please remember that I used a single
my.cnf with mysqld_multi as I was using a single server for all
my masters (‘cos it was a test env of course). If you have
masters spread about on different servers, there’s no need to
use_mysqld_multi and an ordinary my.cnf can be fine. Or, if you
have a small amount of mysql servers on the same box and you want
them to be …
While being on the committee for the FOSDEM MySQL & friends devroom, I didn’t speak at that devroom (instead I spoke at the distributions devroom). But when I had time to pop in, I did take some notes on sessions that were interesting to me, so here are the notes. I really did enjoy Yoshinori Matsunobu’s session (out of the devroom) on RocksDB and MyRocks and I highly recommend you to watch the video as the notes can’t be very complete without the great explanation available in the slide deck. Anyway there are videos from the MySQL and friends devroom.
MySQL & Friends Devroom MySQL Group Replication or how good theory gets into better …
[Read more]The problem with Twitter is that we talk about something and before you know it, people forget. (e.g. does WebScaleSQL have an async client library?) How many blog posts are there about Percona Live Santa Clara 2015? This time (2016), I’m going to endeavour to write more than to just tweet – I want to remember this stuff, and search archives (and also note the changes that happen in this ecosystem). And maybe you do too as well. So look forward to more blogs from Percona Live Data Performance Conference 2016. In the meantime, here’s tweets in chronological order from my Twitter search.
- crowd filling up the keynote room for #perconalive
- beginning shortly, we’ll see @peterzaitsev at #perconalive doing his keynote
- #perconalive has over 1,200 attendees – oracle has 20 folk, with 22 folk from facebook …
nice explanation.. i am doing same thing..i want to add master
every day or as per my requirements. is it possible to do that,
and second thing pls explain more details on my.cnf file, for
every master should i use separate
[mysqld3001]………. – what is 3001 here..
[mysqld3002]………
[mysqld3002]……….
In this post i want to show you to add client side js validation Parsley is javascript library that provides lots of validation for the form this library you can also you with PHP net etc language But in this post i did give you example with laravel 5 framework Parsleyjs is pretty interestin
Earlier this week we had a discussion with fellow DBAs about our mysql prompts, and at the end of the day it showed up, that a lot of us hit the same problem. The problem is, that when you set up your mysql prompt then ‘\h’ will be resolved to ‘localhost’ when you connect locally […]
Earlier this week we had a discussion with fellow DBAs about our mysql prompts, and at the end of the day it showed up, that a lot of us hit the same problem. The problem is, that when you set up your mysql prompt then ‘\h’ will be resolved to ‘localhost’ when you connect locally […]