Step 1: Download mysql-4.0.14b-win.zip?mysqlcc-0.9.4-win32.zip
Step 2: Find the driverProgramMySQL currently provides the Java driver for connection/J, can be downloaded from the MySQL official website, extract and find the mysql-connector-java-3.0.
Http://www.hcbus.com/topic/9235/
The structure used by the unique index and the common index is B-tree, and the execution time complexity is O (log n ).
1. Common Index
The only task of a common index (index defined by the key or index keyword)
Copy MySQL database file backup database in Linux
Generally, MySQL database backup can be performed in two ways: Exporting SQL statements directly or SQL storage files in other formats that are easy to import, using SQL statements or some visual
We port the MySQL database from one server to another. The operating system is Red Hat Linux.
1. view system status
> Show status
2. view the current process
> Show processlist
There is no other problem, but all the tables are read-only. At
What are the possible causes of high load on MySQL databases? How to troubleshoot? This article will introduce the troubleshooting methods when the MySQL database load is high. Let's take a look at this process.
The Troubleshooting logic is as
There is a need for a project: divide the table into permissions and divide them into different enterprises.
At that time, navicat was used to manually add the customer and divide the permissions. I don't know why I couldn't log on to the database.
MySQL proxy Learning (1) Startup Process
Mysql-proxy relies heavily on libraries including libevent, glib2, and Lua. Therefore, you still need some knowledge to read the code.
1. Main libevent InterfacesEvent_base_new: Initialize an
Flush flush_option [, flush_option]. To execute flush, you must have the reload permission.
The content of flush_option is as follows:
Hosts clears the host cache table. If the host changes the IP address, or the host... isblocked error is reported.
As we all know, if the where condition of an SQL statement contains a function expression, indexes may not be used even if the column referenced by the condition already has an index. This is because, an index can only describe the "original state"
Create
Create trigger name after insert on table for each row
Begin
Insert into state_pro_update setPID = new. ID,Operation = 'n ';End;
Action time
Before or after
Action
Insert, update, delete.
Corresponding row
Insert> New. OBJ
Delete> old.
If the MySQL server is busy during website construction or operation, you can enable the query cache to accelerate the response time. add the following items to CNF: (/etc/My. CNF; Debian is in ETC/MySQL/My. CNF ).
Query_cache_size = 64 mQuery_cache_
Today, the Program reported an exception: Java. SQL. sqlexception: Access denied for user 'root' @ 'rjb-Z' (using passwrod ).
String url = "JDBC: mysql: // 192.168.1.169: 3306/test";
The password is correct and can be logged in the command line
A new online examination management system website http://zjsx0575.vicp.net was developed, and the following error message was found on the website the next day
HTTP status 500-
------------------------------------------------------------------------
Original article: http://dev.mysql.com/doc/refman/5.5/en/innodb-default-se.htmlBest Practices for InnoDB TablesIf you have been using InnoDB for a long time, you already know about features like transactions and foreign keys. If not, read about them
From: http://www.blogjava.net/nonels/archive/2008/10/09/233324.html
Set @ id = 10;
Call pr_param_in (@ id );
Select @ id as id_out;
Mysql> call pr_param_in (@ id );+ ---------- +| Id_inner |+ ---------- +| 11 |+ ---------- +
Mysql> select @ id as id_
Character Set error SolutionProblems:Mysql> update users-> Set username = 'guan Yu'-> Where userid = 2;ERROR 1366 (HY000): Incorrect string value: '/xB9/xD8/xD3/xF0' for column 'usernAme' at row 1An error occurred while inserting Chinese characters
1. The basic syntax format of grant is:Grant permission on database objects to users
Grant [-option operation permission] on [-database]. [-table] to [-user operation user] @ "[operation user IP address]" [-set password]
Option operation permission:
Method 1:
Log on to the MySQL Server using the MySQL Adminstrator GUI Tool, but the Server returns the error message Host '60-248-32-13.hinet-ip.hinet.net 'is not allowed to connect to this
MySQL server
This is because of permission issues. 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.