• Detailed illustration of mongodb download, installation, configuration and use


    Remember to run CMD in administrator mode, otherwise the service will fail to start. Detailed illustration, recording the process of installing Mongo database in win7 64. The installed version is mongodb-win32-x86_ 64-2008plus-ssl-3.4. 1-signed。 -Download and install. There are a lot of drawings. I’m not afraid of wordiness, but I’m afraid it’s not enough. The picture […]

  • Error sorting of MySQL 8 installation for Linux (unfinished)


    ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/tmp/mysql.sock ‘ This problem occurs when the account is logged in. No matter whether the password is correct or not, there is always a 2002 error. My solution is as follows Directly delete 4 files under the temporary folder (the permissions of these 4 […]

  • Installing MySQL 5.7 in homebrew


    Installing homebrew https://brew.sh/ brew -v #See if homebrew is available brew doctor Install MySQL 5.7 #Search MySQL version brew search mysql #Installation 5.7 brew install [email protected] #Configure environment variables, as shown in red box 1 below echo ‘export PATH=”/opt/homebrew/opt/[email protected]/bin:$PATH”‘ >> ~/.zshrc #Make configuration effective source ~/.zshrc #Start MySQL service mysql.server start MySQL set password After […]

  • MySQL reset password and allow remote access


    ​ I Reset password 1. Know the root password of the original myql Method 1: By logging in to the MySQL system, mysql -uroot -p Enter password: [enter original password] mysql>use mysql; mysql> update user set authentication_string=passworD(“test123”) wher user=’root’; mysql> flush privileges; mysql> exit; Method 2: Outside the MySQL system, use mysqladmin mysqladmin -u root […]

  • mysql5. 7 installation tutorial


    1. Go firstOfficial websiteCheck the appropriate version. Here I choose the community version The RPM bundle is selected hereEnter the Linux usr / local directory to create the MySQL folderExecute download command wget https://downloads.mysql.com/archives/get/p/23/file/mysql-5.7.23-1.sles12.x86_64.rpm-bundle.tar Unzip after downloading tar xf mysql-5.7.23-1.sles12.x86_64.rpm-bundle.tar Execute in the following order rpm -ivh mysql-community-common-5.7.23-1.sles12.x86_64.rpm rpm -ivh mysql-community-libs-5.7.23-1.sles12.x86_64.rpm rpm -ivh mysql-community-client-5.7.23-1.sles12.x86_64.rpm rpm […]

  • Spring boot simply integrates fluent mybatis to realize data addition, deletion, modification and query


    I always like to pay attention to more new frameworks. I found a framework that basically doesn’t need to write mapper and XML. Let’s look at this framework. 1. Create a new spring boot project 1.1 pom. XML configuration <properties> <java.version>1.8</java.version> <fluent-mybatis.version>1.6.13</fluent-mybatis.version> </properties> <dependencies> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> </dependency> <dependency> <groupId>mysql</groupId> <artifactId>mysql-connector-java</artifactId> <scope>runtime</scope> </dependency> <dependency> <groupId>org.projectlombok</groupId> […]

  • Article applet full stack development, from entry to online, section 6 – server environment construction


    Taking CentOS 7 as an example, the following tools need to be installed: node.js、nginx、mysql、mongodb、serve、pm2 I Install node, serve, PM2 To facilitate version switching, here, I writenvmInstall node as. Install version management tool Git yum install git View git version git –version Install node JS version management tool NVM curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh | bashperhaps wget -qO- […]

  • Novice friendly! 101 Python small project source code (recommended Collection)


    No matter what programming language you learn, practicing through small projects is the best way to quickly improve and consolidate your skills. Today, I recommend a resource warehouse with 5000 + star in GitHub, which brings together all kinds of Python small projects. GitHub link: https://github.com/Python-Wor… Let’s look at some small projects: Serial number name […]

  • CloudQuery v1. 2.1 release


    Welcome to cloudquery v1 2.1 release conference. Last v1 The release of version 2.0 received a warm response from the majority of friends. They put forward a lot of valuable suggestions and found out a lot of bugs. Here, we express our heartfelt thanks. Problems and suggestions will be recorded and taken seriously. This release […]

  • Vue Vue router vuex element UI Axios learning notes (V) registration page and connection to mongodb


    Registration page Registration page regin The code of Vue is similar to the code of the login page, which is to write two verification rules for verification, telephone number and confirmation passwordregin. Vue code <template> <el-main> <el-form :model=”ReginForm” ref=”ReginForm” :rules=”rule” class=”regform” label-width=”0″> <h3>User registration</h3> <el-form-item prop=”username”> <el-input type=”text” v-model=”ReginForm.username” Placeholder = “user name” > </el-input> […]

  • Build a microservice development environment under Ubuntu


    About this article Writing goal: as a quick reference guide for installing JDK, mysql, zookeeper, redis, mongodb, rabbitmq and other development components under Linux Linux version: Linux Mint 18.2 Sonya (based on Ubuntu 16.04 xenial) Actual combat record JAVA OpenJDK 1 sudo apt install openjdk-8-jdk MySQL 23 install wget https://dev.mysql.com/get/mysql-apt-config_0.8.6-1_all.deb dpkg -i mysql-apt-config_0.8.6-1_all.deb apt update […]