Embedded development tool -- cross compiling libmysql
Article directory
Preface
1, libmysql source download
2, Unzip and configure
3, Build install
4, Program testing
Preface
It is too cumbersome (or lazy) to transplant mysql in the development board, so we need to migrate the required libraries to the development board for C language programs.
Fin ...
Posted by thegreatdanton on Sat, 08 Feb 2020 23:50:32 -0800
A single device completes the construction of master-slave mysql quickly based on the data volume of 63G
1, Description of demonstration project:
A single physical machine uses xtrabackup to back up 63G mysql data online to create a new slave database.The purpose of the demonstration is to record the test database data of 63G used on a single physical server, and then quickly create a slave database on the local machine, about how long it will ta ...
Posted by xjake88x on Sat, 08 Feb 2020 03:23:55 -0800
Django 3 tutorial and CRUD example with MySQL and Bootstrap
Catalog
Django 3 features
Precondition
Django 3 tutorial, step 1: create MySQL database
Django 3 tutorial, step 2 - initializing a new virtual environment
Django 3 tutorial, step 3 - install Django and MySQL client
Django 3 tutorial, step 4 - initializing a new project
Django 3 tutorial, step ...
Posted by envexlabs on Sat, 08 Feb 2020 02:17:36 -0800
django creates the first project
django creates the first project, using pycharm, and the virtual machine uses ubantu
Create command (if Django is installed)
Have a project and a virtual environment awareness.
You can install Django in the virtual environment if you don't install it
Virtual environment construction
pip install vi ...
Posted by hypuk on Sat, 08 Feb 2020 01:07:17 -0800
How to build Redis cluster?
Article directory
Preface
I. environment
1.1: Environment
1.2: purpose of the experiment
2: Experimental process
2.1: deployment of Redis from master-slave server
2.2: master-slave server configuration file modification
2.3: install rvm and RUBY control cluster software on the main server
2.4: th ...
Posted by minou on Fri, 07 Feb 2020 23:20:53 -0800
spring security inherits spring boot I
1. spring security is for permission authentication.
2. Database based authentication is used in all projects.
First, we create a permission related table.
General authority controls include
user → role → data_privilege
user →data_privilege
Users control through role. Data permission is ...
Posted by sunilj20 on Fri, 07 Feb 2020 09:48:06 -0800
Entity Framework Core series tutorial-3 generating entity model for existing database
Create a model for an existing database in the Entity Framework Core
Here, you will learn how to create context and entity classes for existing databases in the Entity Framework Core. Creating entity and context classes for an existing database is called the database first method.
EF Core does not sup ...
Posted by UQKdk on Fri, 07 Feb 2020 06:08:09 -0800
JDBC operation database and difference among statement, preparedStatement and callableStatement
The database can be operated easily by Java using JDBC API. In java8 and later, JDBC ODBC bridge connections have been dropped. For different databases, download the driver to the corresponding official website.
Here are three common database driver names, driver class and corresponding connection strin ...
Posted by spiceweasel on Fri, 07 Feb 2020 01:45:48 -0800
Including source code analysis, in-depth Java thread pool principle
From the pool technology to the bottom layer implementation, an article takes you through the thread pool technology.
1. Introduction to pool technology
In the process of system development, we often use pooling technology to reduce system consumption and improve system performance. In the field of prog ...
Posted by adren on Thu, 06 Feb 2020 23:46:43 -0800
DDD congestion model code example
Anemia model
We generally use three-tier architecture for business development:
Repository + Entity
Service + BO(Business Object)
Controller + VO(View Object)
In the three-tier architecture business development, we often use the development mode based on the anemia model. Anemia model refers to th ...
Posted by Xproterg^vi on Thu, 06 Feb 2020 21:40:17 -0800