1. Unzip the ZIP package and configuration
First, the Mysql-5.5.25-winx64.zip to the d:/mysql-5.5.25 directory, and then according to the relevant information on the Internet, will be My-large.ini (of course, depending on the situation to choose
1, the logical meaning of varchar (N)Starting with MySQL4.1, n in varchar (n) refers to the maximum number of characters (characters) that can be stored in the field, not the number of bytes.
Whether it's a Chinese-English character or a number, or
There are four levels of database isolation, as described in the book High performance MySQL:
Then tell me how to modify the transaction isolation level:
1. Global modification, modify Mysql.ini configuration file, at the end Plus
On the internet to find a piece of MySQL technical article, feel good, translate it to share under.Original Author: Mike PetersI've sorted out 7 ways to fix the MySQL database, when a simple reboot doesn't work for the database, or when a table
The function and grammar of union and UNION all
UNION is used to merge the result sets of two or more SELECT statements and eliminate any duplicate rows in the table.The SELECT statement within the UNION must have the same number of columns, and
I am free to do nothing, 2014 too pompous, blog also did not write a few, ah ~ ~ ~ With this to record the upcoming 2014
Python operates on a variety of databases all over the street, but I still like my style, it involves other operations, but the
To create a table:
Copy Code code as follows:
CREATE table if not exists t
(
ID int,
Addtime datetime default ' 0000-00-00 00:00:00′
)
Add two initial data:
Insert T VALUES (1, ' 2012-07-12 21:00:00′);Insert T
First, determine the version
View MySQL version
Copy Code code as follows:
Mysql-v
Or you can log in to MySQL using select version (); or status; Command view
Ii. Commencement of work
Close MySQL
Copy Code code as follows:
This learning servlet database is MySQL, and I am now ready to learn javaweb, so the article on the Javaweb will continue to update, a few days ago, actually want to learn PHP, but the back of a friend's reminder, let me turn to the javaweb.
Session is a variable that the server side uses to save the user information in the PHP program design, which has a very wide application value. This article describes the PHP implementation of the use of MySQL to save the session method. Share for
Even though we have powerful reporting tools like the Microsoft Crystal Report and other flexible customer management tools in our current era, Microsoft Excel is still the most common tool when analyzing sales statistics and revenue information.
Query string length in MySQL:
Length: is a calculation of the lengths of a field a Chinese character is counted three characters, a number or letter is counted as a character
The Char_length (str) return value is the length of the string str, and
When you are faced with a JSP connection MySQL database problem, you first need to create a username table in the MySQL database, the table inside the creation of two character fields, field names are: Uid,pwd, and then insert a few test data.
The
In the database we often use SQL statements to do a simple statistical sort of table, for the Date field, we can simply order it. For a complex point can be group,order by date, month, day, respectively.
Group by year, sorting by statistics:
MySQL Account management
These days have been the muddle, toss MYSQLINNODB data engine hot backup, toss for a long time, the results did not toss out, the heart has a lot of frustration. Then in the master replication to slave configuration
Explore the puzzles of Android soft keyboardDelve into Android Async Essentials HandlerThe essential cornerstone of Android's mainstream frameworkStanding on the shoulder of the source code full solution scroller working mechanismAndroid
in the high-concurrency Web site architecture, MySQL database master-slave synchronization is indispensable, but often occur due to network reasons or operation errors, MySQL master and slave often appear out of sync, then how to monitor MySQL
Create a complete table in the MySQL database, and create a mysql database
1. After successful login, first enter a database (not a database server)
Use t1; // t1 is the database name
:
2. Create a database table in this database
2.1 first create a
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