Skip to navigation Skip to content
Simon Technology Blog
  • Architecture
  • Cloud
  • Database
  • Develop
  • Hardware
  • Industry
  • Language
  • Mobile
  • Opensource
  • OS
  • Web
Main Navigation

Category: Database

The database is a warehouse that organizes, stores and manages data according to the data structure. It was created more than 60 years ago. With the development of information technology and the market, especially after the 1990s, data management is no longer just It is to store and manage data, and transform it into various data management methods required by users. There are many types of databases, from the simplest tables that store various data to large-scale database systems that can store massive amounts of data. They have been widely used in all aspects.

MySQL creates a database

After logging in to the MySQL service, we can use the create command to create a database. The syntax is as follows:

CREATE DATABASE database name; The following command simply demonstrates t

October 4, 2021By Simo Mysql Created, database, mysqlLeave a Comment

MySQL Workbench! Add a prefix for all tables

Is it possible to set the table prefix in the MySQL workbench?
For example: I created a complete pattern (table_1, table_2, table_3,… table_N), and I want Workbench to add a prefix to each table

October 4, 2021By Simo Mysql Add, for the form, mysql, prefix, WorkbenchLeave a Comment

Mysql – How to choose a line in the case of considering weight?

I have a table that looks like this:

id: primary key
content: varchar< br />weight: int What I want to do is to randomly select a row from the table, but consider the weight. For example, if

October 4, 2021By Simo Mysql choose, consider, How, in the case, mysql, one line, random, WeightLeave a Comment

MySQL account management

< /p> #code
desc user
select user,host,authentication_string from mysql.user;

#Modify password
update user set authentication_string=password(‘new password’) where user=‘user name’

#After

October 4, 2021By Simo Mysql account, management, mysqlLeave a Comment

Talking about Mysql Multi-Table Operation

Field operation create table tf1( id int primary key auto_increment, x int, y int);# Modify alter table tf1 modify x char(4) default”;alter table tf1 change ym char(4) default”;# Add mysql>: alte

October 4, 2021By Simo MysqlLeave a Comment

View Isolation level of MySQL transaction

1. Select the database to view the current transaction isolation sector

select @@tx_isolation;

2. Open the transaction, roll back the transaction

3. Dirty read, phantom read in th

October 4, 2021By Simo Mysql isolation, Level, mysql, transaction, viewLeave a Comment

MySQL Optimization: How to avoid back inquiry

Reference: https://www.cnblogs.com/myseries/p/11265849.html

InnoDB has two types of indexes: clustered index (clustered index) index) and ordinary index (secondary index)

The leaf node

October 4, 2021By Simo Mysql back, how to avoid, mysql, Optimization, query, tableLeave a Comment

How to get the current date and time of MySQL?

Is there a value or command like DATETIME that I can use in manual queries to insert the current date and time?

INSERT INTO servers (
server_name, online_status, exchange, disk_space, networ

October 4, 2021By Simo Mysql Current, Date, how to get, mysql, timeLeave a Comment

Mysql string intercept

MySQL string interception functions: left(), right(), substring(), substring_index(). There are mid(), substr(). Among them, mid() and substr() are equivalent to the substring() function, and the f

October 4, 2021By Simo Mysql intercept, mysql, stringLeave a Comment

MySQL installation

1.mysql download Select the corresponding version download address Here we download mysql-8.0.17-winx64

Unzip and create the root directory after unzip my.ini and data folder

basedir:

October 4, 2021By Simo Mysql installation, mysqlLeave a Comment

Posts navigation

Page 1 Page 2 Page 3 … Page 47
Recent Posts
  • Sencha-Touch-2 – Sencha Touch 2, Nested XML Analysis NodeValue
  • Add a separation line and format XML content
  • Is there a norm of simplified XML subsets?
  • Look at it when you write React
  • ReactJS – Present React Redux React-Router App to add the server to the Firebase hosted by the Firebase
Categories
  • Android
  • Apache
  • Apache Kafka
  • Asp
  • Auto-Test
  • Automated Build
  • Aws
  • Bitcoin
  • Browser
  • C & C++
  • C#
  • Centos
  • Cgi
  • Character
  • Cloud Service
  • Cocos2dx
  • Cordova
  • CSS
  • Data Structure
  • Delphi
  • Design Pattern
  • Dojo
  • Dubbo
  • ELK
  • Flex
  • football
  • Game
  • Hadoop
  • Hibernate
  • HTML
  • Hybrid
  • Intel
  • IOS
  • Ipad
  • iPhone
  • Java
  • Javascript
  • Jetty
  • JQuery
  • Jsp
  • Linux
  • Load Balance
  • Lua
  • Macbook
  • Macos
  • Mathematics
  • Micro Services
  • Monitoring
  • Motherboard
  • Mysql
  • Network Hardware
  • Network Marketing
  • Nginx
  • NodeJs
  • Nosql
  • Oracle
  • Os Theory
  • Performance
  • PHP
  • Postgresql
  • Power Designer
  • React
  • Redis
  • Regexp
  • Rom
  • Rss
  • Ruby
  • Search Engines
  • Shell Script
  • Silicon Valley
  • Silverlight
  • Software Design
  • Spring
  • Sql
  • Sqlite
  • Sqlserver
  • Storage
  • Storm
  • Surface
  • SVN
  • Swift
  • System Architecture
  • Tablet
  • Uncategorized
  • Unix
  • Visual Basic
  • Visual Studio
  • Web Crawler
  • WebService
  • Windows
  • Wireless
  • XML
  • ZooKeeper
Archives
  • October 2021
  • September 2021
  • August 2021
  • May 2021
  • April 2021
  • September 2020
  • September 2019
  • August 2019
  • June 2019
  • May 2019
  • April 2019
  • March 2019
© Simon Technology Blog 2025 • ThemeCountry Powered by WordPress