Install MySQL 5.6 when MySQL 8.0 is installed in win10 (install two mysql, and install the lower version in the higher version)

Install MySQL 5.6 when MySQL 8.0 is installed in win10 (install two mysql, and install the lower version in the higher version) Shut down the installed mysql service Download and unzip mysql5.6 Configure environment variables Modify my.ini configuration file Install mysql service Change Password R ...

Posted by RossC0 on Sat, 26 Oct 2019 06:35:43 -0700

MySql database learning

Content review of MySql database learning (1) -Database creation: Name of create database character set character set collate collation --Database deletion: drop database database name -- Amendment: alter database character set character set (utf8) - enquiry: show database ...

Posted by richiec on Sat, 26 Oct 2019 04:19:55 -0700

MySql database learning

MySql database learning (1) mySQL (relational database management system) MySQL is a relational database management system, developed by MySQL AB company in Sweden, which is currently a product of Oracle. MySQL is one of the most popular relational database management systems. In WEB application, MySQ ...

Posted by fresch on Fri, 25 Oct 2019 21:22:24 -0700

The attempt of Vue+Node+Express+MySql

Preface This is a very simple attempt. The original intention is to replace PHP with nodejs and build a complete web project. Project logic vue develops the front-end, and is still in the dev mode. It uses proxy proxy proxy to communicate with the node back-end.node+express builds back-end web services, connects to mysql, and performs addition, ...

Posted by ShootingBlanks on Fri, 25 Oct 2019 14:14:02 -0700

Binary storage picture

//This is a simple case - using MySQL database to store images in binary form The type of our database should be: mediumblob type Reason: in order to prevent the saved image from exceeding the storage capacity limit, the maximum storage capacity of mediablob is 16M. In MySQL, blob is a binary large obje ...

Posted by gdogfunk on Wed, 23 Oct 2019 15:22:13 -0700

Installing MySQL 5.7 database through binary package

1. Download mysql binary installation package and dependency package wget http://mirror.centos.org/centos/7/os/x86_64/Packages/libaio-devel-0.3.109-13.el7.x86_64.rpm wget http://mirror.centos.org/centos/7/os/x86_64/Packages/libaio-0.3.109-13.el7.x86_64.rpm wget https://mirrors.tuna.tsinghua.edu.cn/mysql/downloads/MySQL-5.7/mysql-5.7.25-linux-g ...

Posted by uproa on Wed, 23 Oct 2019 13:51:44 -0700

8 common SQL error usages

Common SQL error usage 1. LIMIT statement Paging query is one of the most commonly used scenarios, but it is also the most prone to problems. For example, for the following simple statements, the general way DBA s think of is to add a composite index to the fields of type, name, create "time. In this way, conditional sorting can effe ...

Posted by DBHostS on Wed, 23 Oct 2019 05:42:36 -0700

The implementation and use of KeepAlive in jetcd

Preface There are many open source implementations of Etcd's Java client. Jetcd is the Java client of Etcd's official warehouse. The overall api interface design and implementation are similar to the official go client, simple and easy to use. Among them, the lease renewal interface provides two interfaces: keepAliveOnce and keepAlive. As its n ...

Posted by nalleyp23 on Wed, 23 Oct 2019 00:24:06 -0700

Instructions for using mysql to support native json

text MySQL started to support json natively in 5.7.8. This article will give a brief description of the usage of json types in mysql, hoping to be useful to you. CREATE TABLE testproject ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `skill` JSON NOT NULL, `student` JSON NOT NULL, PRIMARY KEY (`id`) ); View table structure: ...

Posted by scooterlibby on Tue, 22 Oct 2019 13:35:55 -0700

Will index be used in MySQL query conditions?

When the user asks you if the index will be used for in in MySQL query criteria, how do you answer? Answer: index may be used Let's test it. 1. Create a table to index the field port CREATE TABLE `pre_request_logs_20180524` ( `id` int(11) NOT NULL AUTO_INCREMENT, `ip` char(16) NOT NULL COMMENT 'agent IP', `port` int(8) NOT NULL COMMENT 'P ...

Posted by Havenot on Tue, 22 Oct 2019 13:21:33 -0700