Author: skatetime: 2013/03/14 MySQL Single-host multi-instance solution refers to running multiple MySQL database instances on a physical PC server. Why? What are the benefits of doing so?
1. The rapid development of storage technology, Io is no
Author: skateTime: 2012/06/30
MySQL optimization (2) --- number of tables and temporary tables
1. How to open and close tables in MySQL
How to open a table in MySQLThe MySQL Open table is implemented through a file descriptor. MySQL is
Author: skateTime: 2012/07/02
MySQL optimization ----- DML statements
I. insert statements
1. Insert statement operation process:1). Connecting2). Send the query to the server3). Analyze Query4). Insert row5). Insert Indexes6) Close
MySQL database operations in Web Service
Note: This article is an article in The Flex + Web Service + MySQL series blog.
In the previous article, we realized connecting to the MySQL database in Web Service, which is actually connecting
18.2.3 host '...' is blocked ErrorIf you get an error like this:
Host 'hostname' is blocked because of specified connection errors.
Unblock with 'mysqladmin flush-hosts'
This means that mysqld has obtained a large number of connection requests
The MySQL engine is not very common. This time we talk about merge, which has many special features:
The merge engine type allows you to merge many tables with the same structure into one table. Then, you can execute a query. The results returned
1. Basic syntax of the trigger:
Create trigger {before | after} {insert | update | Delete} on {table name} for each
Row
First, we understand that the trigger belongs to a table. The operation is caused by the insertion, deletion, and
Author: skateTime: 2012/02/29
MySQL table Optimization
If the table data is greatly changed, or the table containing variable-length rows (tables with varchar, blob, or text columns) is greatly changed, the table should be optimized. After
Author: skateTime: 2012/03/27
MySQL BINLOG details
What is BINLOGBINLOG logs are used to record all statements that have updated or potentially updated data (for example, a delete statement that does not match any row. The statement is saved as
Author: skateTime: 2013/04/11
Properly set SQL _mode of MySQL
SQL _mode is a variable that is easily ignored. The default value is a null value. In this setting, some illegal operations can be allowed, such as the insertion of some illegal data.
Before reading this article, we recommend that you refer to "php accessing MySQL database beginner" and "php accessing MySQL database intermediate smarty technology".
In the previous article, we have developed a program that can read databases and
I would like to remind you that sometimes the commands on the Internet are too boring to copy them.
Here we will list MySQL backup: gzip compression for the backup SQL statement:
When mysqldump-hhostname-uusername-ppassword databasename | gzip>
1. Connect to the database
Shell:
Mysql-U $ user-P [$ database]
PHP:
$ Con = mysql_connect ($ host, $ dbauser, $ dbapassword );
2. display the database and select the database
Show databases;
Show tables;
Describe table;
Shell:
Use MySQL
PHP:
$
Install MySQL
Sudo apt-Get install mysql-Server
This should be very simple, and I don't think there is much problem with the installation, so I will not talk about it much. Let's talk about the configuration below.
Configure MySQL
Note: In ubuntu,
in front of date-time text. Corresponding to class name 'sun' & 'moon'-->
MySQL backup and recovery policy (iii) 12:11:54 big label: knowledge/exploration MySQL backup and recovery MySQL backup policy MySQL recovery policy mysqldailybackup. Sh note:
1. According to the Django official website documents https://docs.djangoproject.com/en/1.5/intro/tutorial01/ step by step installation successful, modify the setting. py, execute
python manage.py syncdb
Throw the following exception:
Django. Core.
MySQL error number 1005Can't create table '. \ mydb \ # sql-328_45.frm' (errno: 150)
If you get this error while trying to create a foreign key, it can be pretty frustrating. the error about not being able to create. FRM file seems like it wocould
Http://andrew913.iteye.com/blog/433280
There are not many database operations using the C language. Generally, file operations are selected.MySQL is used in a recent project, so I went to check the C API of MySQL.It is basically the same. To put it
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.