Use PHP to implement XML backup MySQL database favorites
The following is a file used to back up a MySQL database through Apache + PHP in Linux.
Code :
File 1. listtable. php (the file lists all tables in the database for backup) Select the table
CopyCodeThe Code is as follows: Mysql_connect ("localhost", "root", "1981427") // connect to the server on localhost. The username is root.
?>
Copy codeThe Code is as follows: @ Mysql_connect ("localhost", "root", "1981427 ")
Or die ("database
Myiasm is a new version of the iasm table and has the following extensions:
Binary hierarchy portability.
Null column index.
There are fewer fragments for Long-varying rows than the isam table.
Supports large files.
Better index compression.
1. Install the configuration
Install MySQL on both servers in the/usr/local/MySQL directory (the installation steps are omitted. Refer to the relevant documentation ), the IP addresses of the two servers are 192.168.0.1 and 192.168.0.2. We use 192
(Refer to the post of volcano:★Flash and ASP communication getting started tutorial-Make your own message book !). There are no good PHP message book tutorials on the Internet. The N multiple source files I downloaded can be viewed in the cloud, and
Author: yunshu
What is MySQL proxy?
MySQL proxy is a simple program that sits between your client and MySQL server (s) that can monitor, analyze or transform their communication. its flexibility allows for unlimited uses; common ones include: Load
Test System Environment Windows 2003 Python 2.5.1 MySQL 5.0.1
It should only apply to win, because CMD is called.Incremental backup, because of your own use, the database is not large.If you have the need to add a self-detection function, it will
New or changed features:
Security Enhancement: Enable strictly controlled positions from which user-defined functions can be loaded. The plugin_dir system variable has
Backported from MySQL 5.1. If the value is not empty, the User-Defined Function
Character_set_client, which is the character set that the user tells MySQL to query.
Character_set_connection. After MySQL receives the user query, it converts it to the character set character_set_connection according to
1. Design Principles1) standardization and standardization
Data Standardization helps eliminate data redundancy in databases. There are several forms of standardization, but third Normal Form (3nf) is generally considered to have achieved the best
I. Software Download Go to the MySQL official website to download the following two tools: mysql-5.1.32-win32.msi, mysql-gui-tools-5.0-r17-win32.msi
The former is the MySQL installation file, and the latter is the MySQL tool installation file,
1. Download MySQL
Http://www.mysql.org/downloads What I download is mysql-noinstall-5.0.67-win32.zip.
Ii. Installation Process1. Extract
Mysql-noinstall-5.0.67-win32.zip
To a drive C, rename it
Mysql5
.Assume thatMysql_home = c :\
Using mysql_pwd is insecure. See connection to MySQL server in MySQL 6.3.
"MySQL" uses the file named in the environment variable mysql_histfile to save the command line history. The default value of the historical file is "$ home /.
1. Stop running MYSQL:/etc/init. d/MySQL stop
2. Use the skip-grant-tables option to start MYSQL:/usr/bin/mysqld_safe -- skip-grant-tables &
3. Now you can enter MySQL without a password.
# Myql
> Use MySQL;
> Update user SET Password =
The following uses phpmyadmin-2.6.1.tar.gz as an example.
Decompress phpmyadmin-2.6.1.tar.gz to/usr/local/apache2/htdocs,
Get the folder phpMyAdmin-2.6.1 and rename it to phpMyAdmin (which will be easier in future ).
Go to the phpMyAdmin folder
1. select the most suitable field attribute
MySQL can support access to large data volumes, but generally, the smaller the table in the database, the faster the query will be executed on it. Therefore, when creating a table, we can set the field
When an slave server is connected to the master server, it notifies the master server of the last successful update location read from the server in the log. The slave server receives any updates from that time, blocks them, and waits for the master
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