Mysql database basic notes bitsCN.com go to the installation directory.../bin/mysql.exe
Cd Change Directory dir list all files in the current directory
C:/vesa/.../a> angle brackets indicate that they are in the folder of disk c/vasa /.../.
Mytop uses the mysql real-time monitoring tool bitsCN. commytop, similar to the linux top tool, to monitor the performance information of the mysql server in real time.
Installation method
1. install dependencies
# Cpan
# Cpan> install DBI
#
Commonly used mysql statements at work can be shared without using php. bitsCN.com
1. calculate the number of years
You figured out how old this person is on your birthday.
SELECT DATE_FORMAT (FROM_DAYS (TO_DAYS (now ()-TO_DAYS (@ dateofbirth), '%
MYSQL Performance Optimization sharing (database/table sharding) bitsCN.com
1. Database/table sharding
Obviously, the unlimited growth of a primary table (that is, a very important table, such as a user table) will inevitably seriously affect
Mysql obtains the current system time, and the current date is used to conveniently query and determine the code bitsCN.com.
The following code is often used in php to obtain the SQL query statement for determining the date.
$ Now = time (); // get
Summary of MySQLDBA common manual bitsCN. com1.mysql remote connection commands can be used to remotely import and export data
Mysqldump -- default-character-set = gb2312-hsf-0000000.00-uroot-pxxxxxx mydatabase> d:/data. SQL
Export the specified
Implementation method of logging on to the background using the SQL injection vulnerability bitsCN.com as early as 02 years ago, many foreign technical articles on the SQL injection vulnerability have started in China around 05 years.
Today, we are
How can I solve the problem of error150 when mysql processes the addition of foreign keys? Mysql foreign keys
BitsCN.com
You cannot create one. the error of the frm file seems to imply an error in the file permission of the operating system or
Description of Mysqlvarchar size and length problem bitsCN. com4.0 or earlier, varchar (20), refers to 20 bytes. if UTF8 Chinese characters are stored, only 6 characters can be saved (3 bytes for each Chinese character)
Varchar (20) is a version
Mysql startup prompts that mysql. host does not exist. the startup failure solution is recorded in the bitsCN. comerror log:
[ERROR] Fatal error: Can't open and lock privilege tables: Table 'MySQL. host' doesn' t exist
I posted a post. I only saw
Mysql full-text search matchagainst usage bitsCN.com for large databases, load data to a TABLE without FULLTEXT indexes, and then use alter table (or create index) to CREATE an INDEX, this will be very fast. Loading data to a table with FULLTEXT
MySQL configuration file: bitsCN.com # BEGIN CONFIG INFO
# DESCR: 4 gb ram, only InnoDB, ACID, a small number of connections, large queue load
# TYPE: SYSTEM
# END CONFIG INFO
#
# This mysql configuration file example is for 4 GB memory
# Mainly
Set the mysqlodbc character set (garbled characters in Chinese) bitsCN. com1. add default-character-set = gb2312 to the [client] item in my. ini under the mysql installation directory.
[Client]
Default-character-set = gb2312
Port = 3306
2.
How to implement mysql unlimited classification: bitsCN.com
Solution 1:Recursive algorithms are also the most frequently used. most open-source programs do the same, but generally only use level 4 classification. The database structure design of
Mysql master/slave database non-synchronization problem solution bitsCN.com encounters such an error as: "Last_IO_Error: Got fatal error 1236 from master when reading data from binary log: 'Could not find first log file name in binary log index file'
Ubuntu
BitsCN.com environment description:
Ubuntu 10.04.2
QtSDK (the one for the 1.5g installation package)
Mysql5.1
1. install MySQL
In Linux, the complete MySQL development requires the installation of the server side, if the installation of the
Mysql sets the cross-permission method for the database bitsCN.com, which requires you to modify the user permissions in MySQL and grant the required permissions.
This article demonstrates this situation and provides detailed solutions.
The
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