The role of Master and subordinate:
1. Can be used as a backup method
2. Used to achieve the separation of read and write, ease the pressure of a database
MySQL master-slave backup principle:
MySQL's master-slave replication is at least two
Create a snort database, create a snort user, and give the user snort all the permissions on all the tables in the Snort library.
mysql> CREATE database snort;Query OK, 1 row affected (0.06 sec)Creating a Database
mysql> Create user snort;Query OK, 1
js| Data | database
I wrote this class when I was in the school web Design competition. A little modification is now available to discuss the problem with JSP database access optimization. The class has the following contents, which are applicable
mysql| Access | Detailed MySQL is a real multi-user, multi-threaded SQL database server. MySQL is implemented as a client/server architecture, consisting of a server daemon mysqld and many different client programs and libraries. Due to the openness
phpMyAdmin is a MySQL database management tool, after the installation of the tool, that is, the Web form can directly manage the MySQL data, without the need to execute system commands to manage, is very suitable for database operation commands
pressure measurement Business process: to obtain the country-wide regional information, the first access to information from MySQL, access to information after Hset to Redis, after the acquisition of information are gone Redis get and return
First hit me is the RPM installation, it tells me that the MySQL version of the conflict, the installation can not continue. After I use the rpm-q query, I want to delete the system with the RPM-E version (3.x.x), but the RPM and mercilessly
mysql| Access
When querying MySQL in the past, see 3306 is open to all ports, feel insecure.
NETSTAT-ANLP | grep mysql
TCP 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN 638/mysqld
UNIX 2 [ACC] STREAM listening 12305521 638/mysqld/tmp/mysql.sock
Of
CentOS7 default database is MARIADB, configuration and so on is not used to, so decided to change to MySQL, but the CentOS7 yum source default seems to be no MySQL. To solve this problem, we need to download the MySQL repo source first.1. Download
CentOS7 default database is MARIADB, configuration and so on is not used to, so decided to change to MySQL, but the CentOS7 yum source default seems to be no MySQL. To solve this problem, we need to download the MySQL repo source first.1. Download
CentOS7 default database is MARIADB, configuration and so on is not used to, so decided to change to MySQL, but the CentOS7 yum source default seems to be no MySQL. To solve this problem, we need to download the MySQL repo source first.1. Download
MySQL 5.6.37 Compile and install what is a database?Simply put, the database is a repository of data, which is organized and stored according to a certain data structure (data structure refers to the organization or data), and we can manage the data
This machine constructs the jpress for the interface test study1. Environment and Tool preparation2. mysql Server installation3. Tomcat Configuration4. Jpress Deployment1. Environment and Tool preparationA. Server is native to Win10
[Email protected] bin]#./mysql-pEnter Password:ERROR 2002 (HY000): Can ' t connect to local MySQL server through socket '/tmp/mysql.sock ' (2)[Email protected] bin]#My MySQL normally starts, but I want to go into the Mysql> interface and run
CentOS7 default database is MARIADB, configuration and so on is not used to, so decided to change to MySQL, but the CentOS7 yum source default seems to be no MySQL. To solve this problem, we need to download the MySQL repo source first.1. Download
1. Download the MySQL repo source$ wget http://repo.mysql.com/mysql-community-release-el7-5.noarch.rpm2. Install the MYSQL-COMMUNITY-RELEASE-EL7-5.NOARCH.RPM package$ sudo rpm-ivh mysql-community-release-el7-5.noarch.rpmAfter installing this package,
CentOS7 default database is MARIADB, configuration and so on is not used to, so decided to change to MySQL, but the CentOS7 yum source default seems to be no MySQL. To solve this problem, we need to download the MySQL repo source first.1. Download
CentOS7 default database is MARIADB, configuration and so on is not used to, so decided to change to MySQL, but the CentOS7 yum source default seems to be no MySQL. To solve this problem, we need to download the MySQL repo source first.1. Download
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.