centos7+mysql-5.2.26+php-5.6.12+zabbix-2.4.6

Because there are several installation configurations written in Lnmp, here are all commands.1 Turn off SELinuxCp/etc/selinux/config/etc/selinux/config.bakvim/etc/selinux/config #SELINUX =disable#selinuxtype=targeted2 packages and Software

Connect MySQL in LAN

Connect MySQL in LAN Blog Category: Mysql MySQL LAN connection grantWe all know that the usual statement to connect to MySQL isJdbc:mysql://localhost:3306/database,But when you want to connect to MySQL on other machines, it is

MySQL Backup restore

The INFORMATION_SCHEMA and Performance_schema libraries are MySQL's own libraries and do not need to be backed up. The User information table exists in the MySQL Library user table.Authorization command: Grant all on the "*" to [email protected];

MySQL Data export Method 2

First, the mysqldump command is used only if it is entered in the Bin directory under the MySQL installation directory in cmd.My MySQL is installed on the e: disk, so first go to the bin directory:E:/program Files/mysql/mysql Server 5.0/bin>Then,

MySQL Small example of stored procedures with parameters

Stored procedure P_get_class_name is based on the class number entered to determine the class name stored procedure p_insert_student is to receive input student information, and eventually insert the information into the student table.

MySQL implementation batch import, and solve Chinese garbled problem

Public StaticString url = "Jdbc:mysql://ip/database?characterencoding=utf-8"; Add a. Characterencoding=utf-8 on the database to solve the problem of Java inserting data garbled in Chinese Public StaticString username = "User"; Public StaticString

Zabbix monitoring MySQL

1, Zabbix add MySQL monitoring template (temple-app-mysql), you also need to add a key to the client to fetch the value.2. Write scripts to get the various status values of MySQL. A directory can be pinned, specifically for monitoring scripts.

MySQL Master-slave replication

Shutting down firewalls and SELinuxPrimary (Master) server: 192.168.0.4From (slave) server: 192.168.0.5First configure the primary server:1.[[email protected] etc]# vim my.cnf[Mysqld]Datadir=/var/lib/mysqlSocket=/var/lib/mysql/mysql.sockUser=mysql#

Host ' XXX ' isn't allowed to connect to this MySQL

How to open a MySQL remote account-1) first log in to MySQL with the root accountIn the Windows Host, click Start menu, Run, enter "cmd", enter the console, then CD into the MySQL bin directory, and then enter the following command.> mysql-uroot-p123

MySQL Sub-table strategy

Reference: http://www.blogjava.net/kelly859/archive/2012/06/08/380369.htmlAnticipate large data volumes and access to frequently-occurring tables, dividing them into a number of tablesThis kind of forecast big difference, the forum in the post of

Python uses MySQL database (1)

1. Install MySQLUnder Ubuntu>>sudo Apt-get Install Mysql-server>>sudo Apt-get Install Mysql-client2. Installing Mysql-pythonTo enable Python to operate MySQL requires the Mysql-python driver, which is a necessary module for Python to

MySQL Master Master sync configuration

MySQL master synchronization is actually two servers between the main from the main, so the basic principle and MySQL master and slave is the same, so you can first according to my blog MySQL master-slave synchronization configuration configuration

Complete uninstall and install configuration Character set for MySQL under Linux

Objective:  There are many tutorials on how to install and configure MySQL in the Linux environment online. This article is written because in the configuration of the character set of the time to find some of the online tutorials found and can not

MySQL Master-slave Replication (simplified version)

1. Time Synchronization RequiredMaster: Ntpdate 0.centos.pool.ntp.orgiburstCrontab-e023 * * */usr/sbin/ntpdate 0.centos.pool.ntp.org >>/var/log/ntpdate.logFrom: Ntpdate 0.centos.pool.ntp.org iburstCrontab-e023 * * */usr/sbin/ntpdate

Invoke a MySQL database stored procedure using a shell script and set a scheduled task

Would have been to MySQL database to create an event task to execute the stored procedure, DO data transfer ... Later, for various reasons, the crontab is used to execute periodically, calling the stored procedure.Implementing this data transfer is

Configuring the Apache server database MySQL

MAC Configuration Apache PHP detailed explanationI. Turn on Apache and cut change boot1. Open terminal input: sudo apachectl start enter, close terminal2. Open the browser, the address bar input: 127.0.0.1 Enter to see a content of "It works!" The

MySQL Basic Operation

1. Show databases; Display Database2. Use Db_passport; Using the Db_passport database3. Create a tableCREATE TABLE Tb_access(aid int unsigned NOT NULL primary key,Status tinyint NOT NULL,Atime timestamp not NULL the DEFAULT current_timestamp on

Learning MySQL data type (iv)

First, integer Type : Integer type Bytes occupied Minimum value Maximum Value TINYINT 1 Signed-128Unsigned 0 Signed

Insert multiple records at once [MySQL]

Does calling multiple INSERT statements make it possible to insert more than one record? But using this approach increases the load on the server, because every SQL Server performs the same analysis, optimization, and so on. Fortunately, MySQL

Windows MySQL installation, configuration

One, MySQL download:, we select the community version of the Red box section to download and MySQL supports many platforms: My operating system is 64-bit, select the corresponding version of the MSI version of the download , pop-up login interface,

Total Pages: 3233 1 .... 2589 2590 2591 2592 2593 .... 3233 Go to: GO

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.