Mysql database basic operation command

Next: Introduction to common commands of MySQL basic introduction Today, I will introduce some basic commands for the operation of guantian Mysql database. Users and permissions Create user mysql>create user test identified by 'BaC321@#'; Change Password 5.5 and previous commands mysql>set password for test=passowrd('!1A@2#3'); 5.6 and ...

Posted on Fri, 18 Oct 2019 11:46:04 -0700 by willieklein

Second Kill Solution in High Concurrent Business Scenario (Preliminary Study)

Prodigal Programming goes in all directions Author: The prodigal son programms to go all directions, diligently records, understands to share, deliberately practices, daily improvement! Public Number: Talk late at night Article brief introduction The content of this article is a solution to the problem of oversold in concurrent business scenar ...

Posted on Mon, 14 Oct 2019 20:57:16 -0700 by cityboy101

springbooot integrates quartz and dynamically updates timed tasks

My last blog wrote about how to perform regular tasks according to a fixed cron, but now there is a demand: users add a memo (equivalent to an alarm clock), 30 minutes before the memo time, to actively push messages to users, then my last blog post is slightly inadequate, after a wave of Baidu, come up ...

Posted on Sat, 12 Oct 2019 11:12:38 -0700 by ProTec

The most comprehensive Python focus you've ever seen

Because I have summed up too many things, the length of the article is a bit long, which is what I "sew and mend" summed up for a long time. Py2 VS Py3 print becomes a function, Python 2 is the key word No more unicode objects, the default str is unicode Python 3 divider returns floating point number No long type Xrange does not exis ...

Posted on Sat, 12 Oct 2019 05:47:22 -0700 by abhi201090

Spring boot local cache (guava and caffeine)

1. Scene description Because the project needs to use local caching, specifically why not redis, etc., do not discuss, record the process, hoping to help needy friends. 2. Solutions 2.1 Use guava as a local cache The initial idea is to use guava, because there is guava's denpency in the project itself. 2.1.1 pom file Three dependencies are req ...

Posted on Sat, 12 Oct 2019 00:22:20 -0700 by pfdesigns

Using Spring Boot & Redis to Realize Short Link Service

Thank you for your reading. Yang Bin's Blog Copyright.If reproduced, please indicate the source: Yang Bin's blog( https://y0ngb1n.github.io/a/b...) The project has been hosted in GitHub: y0ngb1n/spring-boot-samples Welcome to Star, Fork Preparation Spring Boot 2.1.0+ Redis Lombok Guava 28.0 Common Validator 1.6 Adding dependencies pom.xml ...

Posted on Tue, 08 Oct 2019 17:05:54 -0700 by q1234ask

[Redis5 source code learning] analysis of restore of redis command

Grape Command syntax Command Meaning: Deserialize a given serialized value and associate it with a given key. Command format: RESTORE key ttl serialized-value [REPLACE] [ABSTTL] [IDLETIME seconds] [FREQ frequency] Command actual combat redis> DEL mykey 0 redis> RESTORE mykey 0 "\n\x17\x17\x00\x00\x00\x12\x00\x00\x00\x03\x00\ ...

Posted on Tue, 08 Oct 2019 13:39:39 -0700 by TGWSE_GY

Django configures celery timing tasks

Install celery Use redis+celery (using Ali Source or optionally not)pip install -i https://mirrors.aliyun.com/pypi/simple/ -U "celery[redis]" Modify Django's settings configuration file Add celery file Add a folder to the app peer directory, for example: service_celery Add celery.py file to ...

Posted on Tue, 08 Oct 2019 00:51:29 -0700 by petersen313

Spring Boot Cache Actual Redis

Spring boot uses SimpleCacheConfiguration by default, even using Concurrent MapCache Manager to implement caching. But switching to other cache implementations is also simple. The following is the use of redis as a cache: pom file Introducing corresponding jar packages into pom <dependencies> <dependency> <groupId>org.sprin ...

Posted on Mon, 07 Oct 2019 08:41:03 -0700 by novice_php

Environment Installation Script

LNP environment Nginx + PHP + Composer + Supervisor Applicable to Laravel environment Contains: Nginx, PHP 7.2, Composer, Supervisor PHP module: fileinfo, imap, ldap, redis, memcached, swoole install # Install Nginx + PHP and copy all four lines together wget -c http://mirrors.linuxeye.com/oneinstack-full.tar.gz \ && tar xzf oneinst ...

Posted on Mon, 07 Oct 2019 03:14:36 -0700 by Phoenixheart