1
After installing MySQL, change the root password and use
NET Startmysql
I ran into this problem when I started. After using the following command
C:mysqlbinmysqladmin-u root-p shutdown
Again net start MySQL does not have this error hint!
2
Using MySQL database friends, backup and restore of MySQL is more important. The important thing to do simply, today we use the mysqldump and source commands to back up the restore, divided into Windows and Linux under the MySQL backup and restore
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:
1 Slow query definition
MySQL records all SQL statements that execute a time threshold that exceeds the Long_query_time parameter setting. The slow query log is the log that logs these SQL.
2 Open Slow query log
Locate the MySQL configuration
One, Miss Access era
The table structure of access if you want to automatically insert the current time, you can enter the default value now () when the column is defined and you can automatically insert the current time. and MySQL does not work,
MySQL is a cross-platform open source relational database management system, is our commonly used most economical database, because of its small size, fast, the total cost of ownership, especially the characteristics of open source, more users get
Show tables or show tables from database_name;Explanation: Displays the names of all tables in the current database
show databases;Explanation: Displays the names of all the databases in MySQL
Show Processlist;Explanation: Displays all processes
MySQL This article is original, if there are references, please indicate the author information.
Email:leo_cdp@yeah.net
http://www.cfeng.net/
This code is reproduced arbitrarily, use please keep this statement
########################################
The reason why I want to write an article today is that MySQL5.1 's release brings a powerful weapon to design a super power database, and any MySQL DBA should learn and use it as soon as possible. I think that if you can use the new features of
How to use MySQL in VC, Delphi, VB and other programs (use of MySQL ODBC driver)? We often encounter such problems, how to use the MySQL database in non-web programs or ASP programs? There are two solutions for this problem:
1, the use of MySQL
c++|mysql|odbc| Data | database | Statement sender: Engineer (Jean ~ still have to go, sigh ...), letter area: Linux
Title: MySQL Database SQL statements C + + ODBC interface class test results (reprint)
Letter station: BBS Water Wood Tsinghua
This article is mainly from the principles, manuals and source analysis in PHP query MySQL return a large number of results, memory footprint problem, while the use of the MySQL C API also involved.
Yesterday, a colleague in the PHP discussion
mysql| Data | database | Database connection If you are interested in MySQL can copy this essay, if you want to configure other database types of connection pool, you can also make simple modification parameters to use.
1. Install Tomcat
Refer
MySQL lost the password is very sad things, especially the root password lost: (. I pretend to play lost also lost, but in case it is a server hanging trouble can be big! Now assume that the root password was lost because of the intrusion. Here I
mysql| Data | Data type MySQL data type
By definition, the purpose of a database management system is to manage data. Even a simple SELECT 1 statement involves evaluation of an expression to produce an integer data value. There are types for each
mysql| Backup | data | Database using MySQL database backup, and very formal database backup method, with other database servers have the same concept, but have not thought, MySQL will have a simpler use of the file directory backup method, but also
mysql| Data | Database MySQL database with its short, convenient, fast, free and so on the advantages of many sites are currently the preferred
database, but generally with the combination of php+mysql to develop a variety of dynamic pages, in fact,
This article mainly introduces the MySQL database index damage and repair experience sharing, need friends can refer to the following
The problem and solution of MySQL table index being corrupted
Afternoon work, surprised to smell my Dedecms
Detailed steps for installing and configuring MySQL 5.7 zip (zip)
I had to reload win10 and sort out the files. However, it was not worthwhile to install MySQL for one afternoon. So I wrote this article to help you.
1. Download
Https://dev.mysql.com/
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