Open mysql remote access
1. Log in mysql database
mysql -u root -p
View user table
mysql> use mysql;
Database changed
mysql> select host,user,password from user;
+--------------+------+-------------------------------------------+
| host | user | password |
+--------------+------+---------------- ...
Posted by kuk on Tue, 24 Dec 2019 13:26:22 -0800
Centos7.3 Deployment LAMP Architecture Dynamic-Static Separation
1. Dynamic and Static Separation of LAMPWhen an efficient web architecture needs to be built, static-dynamic separation is undoubtedly the best option. This post will write down how LAMP is deployed.
So-called LAMP?LAMP architecture is one of the most mature application modes for enterprise websites. It refers to a set of systems and related s ...
Posted by dsantamassino on Tue, 24 Dec 2019 13:08:44 -0800
Syntax differences encountered in MySQL conversion and Solutions
Recently, the company's project needs to be transferred from SQL Server to MySQL. In the process of transferring, some differences between the two grammars are encountered. After finding a solution on the Internet, it is recorded here. Since there may be many solutions, I only record what I have used for reference.
1. Splicing string
Using the ...
Posted by xplore on Tue, 24 Dec 2019 06:54:56 -0800
MySQL learning -- backup and restore with mysqldump command
Absrtact: This paper mainly studied how to use mysqldump command to backup and restore database.
Derived data
Export all data
Parameters:
1 --all-databases, -A
Give an example:
1 mysqldump -h127.0.0.1 -uroot -p -A > db_back.sql
Export the specified database
Parameters:
1 --databases, -B
Give an example:
1 mysqldump -h127.0.0.1 -uroot ...
Posted by gaza165 on Tue, 24 Dec 2019 02:58:30 -0800
Cached Database Memcached - Install and Manage Database Operations
1. Introduction to Memcached:
(1) Introduction:
Memcached is a high-performance distributed memory object caching system for dynamic Web applications to reduce database load.It improves the speed of dynamic, database-driven Web sites by caching data and objects in memory to reduce the number of times the database is read.Memcached is based on ...
Posted by alvinchua on Mon, 23 Dec 2019 12:56:56 -0800
Linux MySQL prompt: The server quit without updating PID file problem solving
The previous testing machine used by the company did not empty the original data, resulting in multiple environment versions of mysql, php, nginx, and apache. Because the php version is 5.2, it is too low for testing. I installed the integrated environment directly for the convenience of testing.
By checking mysql logs and l ...
Posted by johnb352 on Sun, 22 Dec 2019 10:55:54 -0800
Detailed steps for Zabbix3.4 installation
zabbix is an enterprise open source solution based on the WEB interface that provides distributed system monitoring and network monitoring capabilities.
The zabbix consists of two parts, the zabbix server and the optional component zabbix agent.
zabbix server can provide remote server/network status monitoring, data collection and other func ...
Posted by diagnostix on Sun, 22 Dec 2019 10:23:38 -0800
sql statement of creating table with mysql
This article uses a project to explain the sql statement of creating table with mysql. jsp freshmen check in system to see how to analyze requirements and convert them into database statements.
Pay attention to write notes when creating tables, and form a good habit.
The super administrator table creation statement is as fol ...
Posted by bundyxc on Sun, 22 Dec 2019 08:34:26 -0800
How to select a row with MAX (column value) and DISTINCT through another column in SQL?
My desk is:
id home datetime player resource
---|-----|------------|--------|---------
1 | 10 | 04/03/2009 | john | 399
2 | 11 | 04/03/2009 | juliet | 244
5 | 12 | 04/03/2009 | borat | 555
3 | 10 | 03/03/2009 | john | 300
4 | 11 | 03/03/2009 | juliet | 200
6 | 12 | 03/03/2009 | borat | 500
7 | 13 | 24/12/2008 | b ...
Posted by elflacodepr on Sun, 22 Dec 2019 00:55:52 -0800
Docker Separate Deployment LNMP
1. Preparing the environment
Installation of docker can be referred to Docker introduction and installation details Not here!
Case Requirements:(1) Each container needs to achieve data persistence;(2) Assign a fixed IP address to the container to prevent the IP address from changing after the container is rebuilt, causing unnecessary troubles; ...
Posted by TheUnknown on Fri, 20 Dec 2019 13:19:30 -0800