I started to learn about databases today. Because I don't catch a cold with Microsoft, I don't need his products anymore.
I wanted to install Oracle, but it was too big to be afraid.
MySQL is a good choice for me who like everything in
String operation inProgramThe design is a very important component, while the string operations in the MySQL database are quite simple.
Note that all the following functions do not change the original data only when the modified result is returned.
MySQLStudy Notes
Three types of SQL statements: DDL (create, drop, Alter) -- implicit commit, dql (select), DML (insert, delete, update) -- Automatic commit, DCL (commit, rollback)
Some common MySQL statements:
1. Show databases; displays all
From: http://www.myexception.cn/mysql/485349.html
Use of MySQL time functions: query data of this week, last week, this month, and last month]
/* Today */
Select * from table name where to_days (time field) = to_days (now ());
/*
1. Obtain the system type. Different systems have different file segmentation symbols. Public static Boolean islinux (){String OS = system. getproperty ("OS. Name"). tolowercase ();If (OS. indexof ("Windows")>-1 ){Return false;}Else {Return true;}}
When XAMPP is installed, the following problems occur.-Access denied for user 'root' @ 'localhost' (using password: Yes)Failed to control the user connection defined in the configuration file.PhpMyAdmin tries to connect to the MySQL server, but the
On percona performance Conference 2009, several Yahoo engineers brought a "efficient pagination using MySQL" report, which has many highlights. This article is a further extension based on the original article.
First, let's take a look at the
I have been developing Zen card for a long time and have never paid attention to how to connect to the database using the most basic PHP method. It is very convenient for zencart to connect to the database and execute SQL statements. Below we post
The default iptables rules of centos are not allowed except SSH (port 22) connections.
# Cat /Etc/sysconfig/ Iptables # firewall configuration written by System -Config- Firewall # manual customization of this File Is not recommended. * Filter:
Mysql-front is a small MySQL management application in windows.Program. The main features include multi-Document Interface, highlighted syntax, databases and tables in the drag-and-drop mode, editable/addable/deleted domains,
Modify the MySQL password:
Prompt to enter the original password. If it is null, press Enter.
Then enter"Use MySQL", Which means to use the MySQL database and prompt" database changed.
Then enter the SQL statement"Update user SET
ArticleDirectory
MySQL cluster Cluster load configuration
MySQL cluster Cluster load configuration
I. Software Packages
A) MySQL-ndb-management-5.0.90-1.i386.rpm
B) MySQL-ndb-management-5.0.90-1.i386.rpm
C) mysql-5.0.27.tar.gz
2
Easy-to-use MySQL backup tools
I used mysqldump for backup, which is easy to store as text files, but it is slow. Of course, the fastest backup method is to copy the data directory directly. But in general, MySQL services must be shut down
Skip-name-resolve
Symptom:
On the MySQL 5 Server in Windows 2003, the local machine is connected to the MySQL service very quickly. There are two Linux machines in the LAN, one of which is quickly connected, and the other one enters the
Original article: http://www.blogjava.net/etlan/archive/2007/07/12/129794.html
MySQL Command for viewing table Structures
Run the following command to view the table structure in MySQL:
Desc table name;Show columns from table name;Describe
In. NET and MySQL databases, Chinese characters cannot be displayed!
The solution is to add a character set charset = utf8 to the connection character;
Code
Code highlighting produced by Actipro CodeHighlighter
An index is a structure created on a table that sorts values of one or more columns in a database table.
The main function is to increase the query speed and reduce the performance overhead of the database system.
Through the index, the query
I always wanted to try php on win. Next I will share with you how to apply Microsoft Web Platform + PHP ON WIN7 IIS7.5.
Manager installation and configuration of PHP5 experiences and feelings.
Win7 IIS7.5 + PHP Manager installation PHP
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