We often encounter this problem, how to use the MySQL database in a non-web program or ASP program? There are two solutions to this problem:
1. Use the Library of API functions provided by MySQL.
This is how many well-known MySQL client tools are
The following article is mainly about MySQL-free installation version of the actual configuration method, its free installation version can be downloaded in the relevant web site, download can be extracted to C:\MySQL to obtain his arbitrary
ALTER TABLE allows you to modify the structure of an existing table. For example, you can add or delete columns, create or eliminate indexes, change the type of existing columns, or rename columns or the table itself. You can also change the
ALTER table: Add, modify, delete table columns, constraints, and other table definitions.
View column: Desc table name;
Modify table name: ALTER TABLE T_book Rename to BBB;
Add column: ALTER TABLE name add column name varchar (30);
Delete column:
However, if you have hundreds of articles on your WordPress site, and you need to make a whole-site change, then editing from the background is a bit time-consuming and laborious, and the chances of making mistakes are increased. The best way is to
In real life, backing up the database on a regular basis is an extremely important task. When we use MySQL, there is a lot of choice in database backup, and this article will show readers how to use MySQL's mysqldump to back up the database.
First,
Explain shows how MySQL uses indexes to process SELECT statements and join tables. can help you choose better indexes and write more optimized query statements.How to: Add explain before the SELECT statement. such as EXPLAIN SELECT * from ' users '
mysql| Data | database
MySQL Download and installation 1, download the introductionMySQL believe that you must have heard, if you do not know what it is, you can go to Google.MySQL's base camp:http://www.mysql.com/MySQL Download
The answer is to make a class--the database class is generated. Through the two-time encapsulation of the function, it realizes the very good reuse. Include it when you need it.
Before talking about the PHP database, first introduce the MySQL
mysql| user rights You can have 2 different ways to add users: by using the grant statement or by directly manipulating the MySQL authorization table. The better approach is to use the GRANT statement because they are more concise and seem to have
This paper introduces how to build a network database application method by Php/mysql of the golden combination of Web database, PHP is a server-side embedded hypertext Processing language similar to Microsoft ASP, it is a powerful tool to build
031 Create a unique index on a table that already exists
1. CREATE UNIQUE INDEX index_name on table_name (
Field_name [(Index_length)] [asc| DESC])
2. ALTER TABLE table_name ADD UNIQUE index| KEY
Index_name (Field_name [(Index_length)] [asc|
Recently, a discuz! old user of the Forum in the reply to appear "The table is full" hint, the literal meaning is that the data table is filled. Because few developers encounter a single table over 4G, the discussion between friends can only provide
Php+mysql+linux is now becoming a classic combination of small Web servers. Building and debugging a MySQL database in a Windows environment is a preferred choice for many Web developers. I am in the WINDOWS98 environment to learn MySQL, now the
Today, developers continue to develop and deploy applications that use lamp (linux®, Apache, MySQL, and Php/perl) architectures. However, server administrators often have little control over the application itself, because the application is written
One, MySQL GUI Tools
MySQL official provides a visual interface to the MySQL database management console, provides four graphical applications, these graphical management tools can greatly improve database management, backup, migration and query
The processing SQL query encountered a problem (the database is MySQL), there is a field definition type is datetime, and non-null no default value,Fill the test data through the phpMyAdmin interface without regard to this field, see a small warning,
Record how to install mysql-Invalid GPG Key from file:/etc/pki/rpm-gpg/RPM-GPG-KEY-mysql, mysql-invalidgpg
Record problems encountered;
Install On aliyunMySQLDue to the last error in uninstalling mysql, the check file has a problem;
There are
Simple use of Mysql-Cluster-7.5 to build a database cluster, cluster to build
Reading directory
Preface
Several Concepts in mysql cluster
Architecture diagram and description
Download mysql cluster
Before installing mysql cluster
Install the
MySQL Online DDL Improvement and Application, mysqlddlThis article analyzes the implementation principle and precautions of Online DDL. For any DDL operation, the performer must perform a pre-test or clearly understand whether the impact of this
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