MYSQL deletes anonymous users (Improves Security) bitsCN.com after MySQL is installed, a root user and an anonymous user will be automatically created, many anonymous users ignore this feature because anonymous users are set to be used only locally
MySQL User creation and authorization method bitsCN.com note: my runtime environment is widnows xp professional + MySQL5.0
1. create a user:Command: create user 'username' @ 'host' identified by 'password ';
Description: username-the username you
In-depth Mysql character set setting [excellent combination] bitsCN.com
Basic concepts • Character refers to the smallest semantic symbol in human language. For example, 'A' and 'B;• Given a series of characters, each character is assigned a value,
Mysql temporary table cann bitsCN.com
When creating a temporary table, you can use the temporary keyword. For example: Create temporary table tmp_table (name varchar (10) not null, passwd char (6) not null ); Or Create temporary table if not exists
MySQL notes operator usage explanation bitsCN.com
Mysql can use operators to perform operations on data in tables, such as age calculation by birth date.
Operators include arithmetic operators, comparison operators, logical operators, and bitwise
Data types supported by MySQL: bitsCN.com numeric type
MySQL includes strict data types (INTEGER, SAMLLINT, DECIMAL, NUMERIC), and approximate data types (FLOAT, REAL, DOUBLE). after extension, TINYINT is added, MEDIUMINT and BIGINT types have
MySQLwait_timeout parameter setting and small bitsCN.com
Application exception alert:
Caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failureThe last packet successfully received from the server was 23,579
MySQL can use GRANT and REVOKE permissions to set bitsCN.com
MySQL can use GRANT and REVOKE permission settings
Permission
Column
Context
CREATE
Create_priv
Databases, tables, or indexes
DROP
Drop_priv
Database or table
GRANT
[SQL] mysqldump for MySQL full backup and recovery
BitsCN.com
[SQL] MySQL full backup and recovery process using mysqldump
[Objective] use mysqldump for full backup, and use the binlog function provided by mysql to implement incremental backup
For
Create a MySQLServer stored procedure and call bitsCN.com
Create and call a stored procedure in My SQL Server
Advantages of stored procedures:
① Fast execution speed
② Templated program design
③ Reduce network traffic
④ Provides system security
.
BitsCN.com
Mysql uses source command garbled
Today, I exported an SQL execution file from windows, and then poured it into unbutn. The result is garbled. it took 7 to 8 minutes,
Solution
When exporting the mysql SQL execution file,
Mysql transaction bitsCN.com
Because transactions are used for work, I searched some excellent posts for the transactions and sorted them out as follows:
First, whether mysql supports transactions is determined by the storage engine. The InnoDB
Analysis on sorting of null values in mysql bitsCN.com
Analysis on sorting of null values in mysql
Table t_user:
Name age
Zhangsan 1
Lisi NULL
Wangwu 2
Run the following SQL statement:
SQL code
Select * from t_user order by age;
Name
MySQL Query does not use index summary bitsCN.com
MySQL Query does not use index summary
As we all know, adding an index is an effective way to increase the query speed. However, in many cases, even if an index is added, the query still does not
LinuxmysqlMYD Upload problem bitsCN.com
Linux mysql MYD Upload problems
Recover a table in the database on the server today. because the table is large, you can directly use the copy function.
File method backup database
A problem occurs when
BitsCN.com
Effect of null value in mysql on expression calculation
In mysql, when any type of field and null value are calculated, the result is still null.
For example, 1 + null = null
'A' + null = null
Sometimes it is necessary to
MySQL case sensitivity settings bitsCN.com
MySQL case sensitivity settings
In MySQL, database and table pairs are stored in directories and files under those directories. Therefore, the sensitivity of the operating system determines the case
Quick MySQL local and remote password cracking bitsCN.com
Quick MySQL local and remote password cracking! The first thing we need to explain to the database maintenance personnel is that you don't have to worry about it. you don't have to fix it.
How to solve the problem of login failure after adding a common user to mysql bitsCN.com
Solution to login failure after adding a common user in mysql
Install openstack folsom today. after installing mysql and adding corresponding databases and
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