To export an SQL file from mysql, first open the installation directory of MySQL, and then enter the path of MySQL Server installation. mysql is installed under the Program Files on the E: disk, and the path is: E: /Program Files/MySQL Server
Configuration of PHP + APACHE + MySQL in Win7 win7Apache
Today's first attempt to build a php development environment, the software uses the php-5.4.29, apache2.4, MySql5.5.
Apache official download (http://httpd.apache.org/download.cgi) does not
MySql basic syntax (Study Notes)
MySQL syntax _ study notes prepared by myself
Select * from emp; # Comment
#---------------------------
# ---- Use a command line to connect to MySql ---------
# Start the mysql server
Net start mysql
# Disable
Net
Mysql startup error collection
1. it may be that the/usr/local/mysql/data/rekfan. pid file has no write permission.Solution: Grant permissions, execute "chown-R mysql: mysql/var/data" "chmod-R 755/usr/local/mysql/data", and then restart mysqld!
2
Install apache in php + Apache + mysqlwindows
To build a php runtime environment in windows, refer to two articles.
Http://wenku.baidu.com/link? Url = response
Http://www.cnblogs.com/tigertall/archive/2010/01/28/1658869.html
Configure php
MySQL User-defined function for converting Chinese characters to pinyin and example (first letter) fristPinyin: This function is used to convert the first Chinese character of a Chinese string into a pinyin letter (for example: "Chinese"->
JSP use UTF-8 link MYSQL database (UTF8) garbled and connection failure issues and change mysql default encoding JSP use UTF-8 link MYSQL database (UTF8) garbled and connection failure issues:
Preface: the databases used by these big companies are
The analysis index does not always take effect when the Mysql index fails. for example, the following situations may cause the index to fail:
1. if there is or in the condition, it will not be used even if there is a condition with an index (this
Solutions to conflicts between field names and reserved words in MySQL:
Select col from table;
Of course this is okay, but what if the field name is "from?
Select from table;
If this is true, an error is inevitable. when the field name
Percona-toolkit usage tutorial-Performance Tools 1. pt-index-usage
L function introduction:
Read the plug-in statement from the log file and explain how they use the index. After the analysis is completed, a report about the index that has not been
The unix_timestamp function of mysql time comparison can accept a parameter or not use a parameter. The return value is an unsigned integer. If the parameter is not used, it returns the number of seconds that have elapsed since 00:00:00, January 1,
In MySQL, the execution sequence of SELECT statements is not followed. The following describes the execution sequence of SELECT statements in SQL statements,
The logical query process for the execution of the SELECT statement is as follows:
(8)
Exercise caution when using MySQLauto_increment in MySQL, you will often create an auto-increment ID field in the table and use the auto-increment ID to quickly create an index. this is also officially recommended by MySQL, however, this method may
Create a user in mysql
1. create a user.
// Log on to MYSQL
@> Mysql-u root-p
@> Password
// Create a user
Mysql> insert into mysql. user (Host, User, Password) values ("localhost", "phplamp", password ("1234 "));
// Refresh the system permission
A MySql exception occurs in the jbpm4.3 Database. couldnotdelete
Solution: modify attributes: jbpm. hibernate. cfg. xml
Org. hibernate. dialect. MySQLDialect
Org. hibernate. dialect. MySQLInnoDBDialect
InnoDB provides MySQL with
Analysis and Interpretation of MySql foreign key constraints by CASCADE, SETNULL, RESTRICT, and null types
Master Table, which can be deleted from the table [MySql] // http://my.oschina.net/cart/blog/277624null values restrict#no ACTION: The
MySQL replication principle and configuration I. basic principles of Mysql replication
II. Binlog format in Mysql replication
2.1 Introduction to three formats
2.2 Advantages and disadvantages of Binlog format
2.3 Basic Binlog configuration
III. two
Mysql initializes the root password and allows remote access to Mysql initializes the root password and allows remote access
Mysql has no password by default. enter mysql-u root to enter mysql.
1. initialize the root password
Enter the
Add a user using Mysql command line
Create a user: Command:
CREATE USER 'username'@'host' IDENTIFIED BY 'password';
Description: username-the username you will create, host-specifies the host on which the user can log on. if a local user can use
MySQL management and optimization (1) SQL basics: SQL introduction
SQL: Structure Query Language (Structured Query statement) is a way for us to interact with databases.
(MySQL) getting started
SQL classification:
1. DDL (Data Definition
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