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
mysql>create user test identified by 'BaC321@#';
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
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
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
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
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.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
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
Spring Boot 2.1.0+
Common Validator 1.6
Posted on Tue, 08 Oct 2019 17:05:54 -0700 by q1234ask
Command Meaning: Deserialize a given serialized value and associate it with a given key.
RESTORE key ttl serialized-value [REPLACE] [ABSTTL] [IDLETIME seconds] [FREQ frequency]
Command actual combat
redis> DEL mykey
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
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 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:
Introducing corresponding jar packages into pom
Posted on Mon, 07 Oct 2019 08:41:03 -0700 by novice_php
Nginx + PHP + Composer + Supervisor
Applicable to Laravel environment
Contains: Nginx, PHP 7.2, Composer, Supervisor
PHP module: fileinfo, imap, ldap, redis, memcached, swoole
# 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