In general, when we manage the Linux VPS Server Web site database, most of them use the phpMyAdmin panel to visualize the management database. At night a netizen told the original can login phpMyAdmin today, but the website operation is normal,
First, we go to the official download mysql-connector-net-5.5MySQL's connector/net5.0 download address:Http://dev.mysql.com/get/Downloads/Connector-Net/mysql-connector-net-5.0.6.zip/from/pickAfter the installation is ready,Point property, then point
knows.nl bied free access to Particulieren,bedrijven Chinese Verenigingen on the river.
Aanmelden voor Eyne website geheel kostenloos Dietegen to meet with the newspaper Registratie Formulier.
DirectAdmin controlpanel,php and MYSQL,100MB, 1 of the
Today
The code is as follows
Copy Code
SELECT * FROM table name where To_days (Time field name) =to_days (now ());
Yesterday
The code is as follows
Copy Code
SELECT * from '
The code is as follows
Copy Code
#!/bin/bash#定义用户名及密码host=User=Userpwd=#定义数据库Database= Mysqladmin-h$host-u$user Flush-logsDaily_databakdir=/backdir#定义MYSQL数据目录Mysqldatadir=/mysql5.5/data emailfile= $daily _databakdir/email.txt#eMail
For security reasons root accounts are generally accessible only locally, but you may need to open root remote access permissions during development. The following are the basic steps:
1, login to MySQL, for root remote access authorization,
MySQL memory setup issue, adjustable tmp_table_size size resolution
Increases the value of the Query_cache_limit.and Max_heap_table_size.and tmp_table_size values.Because we use a lot of preprocessing statements in our stored procedures. And the
MySQL data backup and recovery we can use MYQL's own tools mysqldump, MySQL to achieve.
MYSQLDUMP supports remote single table backups, single database backups, and all database backups.
= = Backup = =
Note the space, additional parameters please
MySQL master-slave copy structure is based on MySQL Bin-log log, from the library through open IO process received the main library Bin-log log increment
Information and save it to the local relay log, and then translate the incremental information
Master's is the mark? MySQL, Slave replaced Percona, did not expect to keep up with progress, and Slave and Master gap more and more distant.
Document and description of InnoDB efficiency adjustment and correction Found by file has a parameter
1. Export the entire database (–hex-blob for BLOB data, prevent garbled and import failures)
Mysqldump-u user name-p database name > exported file name
The code is as follows
Copy Code
Mysqldump-u
1. The show ERRORS statement simply displays the error of the previous statement and does not display both warnings and considerations.As an example:
The code is as follows
Copy Code
Mysql> Show DFDAFSADF->;Error 1064 (42
Grammar
[CONSTRAINT [Symbol]] FOREIGN KEY[Index_name] (Index_col_name, ...)REFERENCES tbl_name (Index_col_name,...)[on DELETE Reference_option][on UPDATE Reference_option]
Reference_option:RESTRICT | CASCADE | SET NULL | The use of the NO ACTION
The functions are as follows:Left,right string InterceptFrom_unixtime Format Unix TimestampConcat string Join functionMax takes a column's maximum valueMin takes a column minimum valueSum calculates a column's sumCount Statistics BarMD5 returns a
In the use of Weaving dream dedecms, opened the dream of the main column, Deputy column function. And the Secondary column field in the MySQL database Typeid2 is a comma, separate column ID composition string. Need to query the column article, the
In fact, the MySQL automatic backup of the small script is very simple, the following is the steps of this small script.
The code is as follows
Copy Code
#cd/www#mkdir Mysqlbackup#vi mysqlautobackup.sh
This
1.linux under the command to start MySQL:
The code is as follows
Copy Code
Mysqladmin start/ect/init.d/mysql Start (Previous installation path for MySQL)
2.linux Restart MySQL command:
The code is
System environment: DEBIAN,AMH PanelBecause the MySQL client is developed with C + +, the Libmysqlclient-dev is installed, and then AMH MySQL does not start, and the error message is:The server quit without updating PID file
First, modify the Linux default IO scheduling algorithm.
Linux default IO scheduling algorithm for CFQ, need to modify to Dealine, if it is SSD or PCIE-SSD equipment, need to modify to NoOp, you can use the following two ways to modify.1, online
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