Article Title: how to operate linux services. Linux is a technology channel of the IT lab in China. Including desktop applications, Linux system management, kernel research, embedded systems and open source, etc. Run the/sbin/chkconfig command
After we have installed the linux server WEB environment with one-click installation package lanmp, there may be many questions about the problems encountered during the use process. The following are some common examples. if you have other
Topic Description : Install cacti as a universal monitoring tool in the Redhat system. Environment Description: i The client uses the Win7 system to telnet to the Linux server via PuttyClient Ip:192.168.0.23,linux server ip:192.168.0.56 (using
Max is from the server with Apache and PHP, do not need to install additional, this article on the relevant configuration is described.
First: Apache
Enter the terminal and the following command will launch the Apache server:
Start sudo apachectl-k
ALinq makes Mysql so simple. when you are used to using. net to operate SQL Server, how many people have tried to use. net to operate Mysql databases! In the halo of. net, Mysql is so insignificant! However, the open source of Mysql is so tempting.
LinuxMySQL database location change and database name change bitsCN.com
In Linux: the default data file storage directory of MySQL is/var/lib/mysql. I want to do two things today: change the database name (three methods are tested), and change the
Solution for MySql error code 1045 bitsCN.com
Error code 1045 Access denied for user 'root' @ 'localhost' (using password: YES) the solution is to reset the root user password. the procedure for Windows is as follows: 1. log on to the system as a
Original article, reprinted please indicate the source: server non-amateur research http: blogcsdnneterlib author Sunface Contact Email: cto @ 188com today encountered some problems when installing mysql5.7.8, the first concern is the change of the
The remote Linux server modifies the Mysql database encoding and solves the problem that Mysql cannot be started after the encoding is modified. After Mysql is installed on the Linux server, its default character encoding is latin1. to use Chinese
Method 1: Use the setpassword command. first, log on to mysqlmysql-uroot-p and execute the setpassword command setpasswordforroot @ localhostpassword (39; 65432139;). in the preceding example, change the root password to 654321.
Method 1: Use the
How to record SQL statements executed by MySQL? Most of the time, we need to know which SQL statements MySQL has executed, such as the damage caused after MySQL is injected. As long as there is a record of SQL statements, you can know the situation
This chapter describes how to generate a new slow query file online when the slow query file is large. Test Environment: mysql5.6.21 step 1 configure slow query default my. cnf file in the etc directory vimetcmy. cnf # slow_queryslow_query_log1 #
MYSQL + MHA + keepalive + VIP installation configuration (1) -- MYSQL installation configuration 1. overview:
This article describes the implementation scheme of MySQL high availability (MHA). MHA is composed of Node and Manager. Node runs on each
Mysql modification connection timeout in Linux bitsCN.com
Connection modification timeout for mysql in Linux
1. First, go to mysql and check whether the value wait_timeout and interactive_timeout are the default 8 hours (that is, 28800)
[Root @
In mysql 5.55.6, set synchronous replication filtering, for example, set to ignore test Database t2 table, you need to add in my. cnf configuration file: replicate-ignore-tabletest.t2 must restart mysql Service
In MySQL 5.6/, set synchronous
Default installation directory of MySQL
Linux:/var/lib/MySQL/Windows: C: \ Program Files \ mysql \
MySQL command line history file
~ /. Mysql_history
Start MySql in Linux.
#/Etc/init. d/MySQL stop#/Etc/init. d/MySQL start
Restart
If you forget the root password or other user password, don't worry, press Here's what you can do. 1. Edit the MySQL master profile my.cnf vim/etc/my.cnf Add the parameter skip-grant under the [mysqld] field; 2. Restart the database Service
MySQL bidirectional synchronization practices
MySQL Master/Slave server (replication) settings: 1. First, create an account for the slave server on the master server. 2. Step 1
If the applied user name and password can be used to access the
To change the data storage path, you must first modify the configuration, copy the data, and then restart.
1. to ensure data accuracy, it is best to stop the MySQL service or lock MySQL table writes.
/Etc/My. CNF
[Mysqld]Datadir
Solution:In CentOS 7, modify MySQL database character encoding to UTF-8, which contains all the characters needed by all countries in the world, is an international code.Specific operations:1. Log on to the MySQL console.Mysql-u root-pEnter
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.