1. Download sitescope
2. Install sitescope
It can be installed by default. The license number can be blank first. If it is blank, it indicates a trial. If it is available, you can enter the license number after installation. After installation
When using MySQL, you must pay attention to security issues. The following are 23 notes for MySQL:
1. If the connection between the client and the server needs to span and pass through an untrusted network, you need to use an SSH tunnel to encrypt
MySQL source command import SQL File
==============================================
Small Example
The mytest_emp_dept. SQL file contains the following content:
Create Table EMP (Eid int primary key auto_increment, ename varchar (20) not null,
Tip: Error 1044 (42000): Access denied for user ''@ 'localhost' to database 'mysql '. This problem also occurred two days ago. I found a popular method on the Internet (see method 1. I tried this again today, but I was not sure. After searching for
In the past two days, I occasionally checked MySQL documents and found that there is a found_rows () function in MySQL versions later than MySQL 4.0.0, which can be called in SQL queries containing limit, obtain the total number of qualified records.
The SQL standard defines four isolation levels, including some specific rules to limit which changes inside and outside the transaction are visible and which are invisible. Low-level Isolation generally supports higher concurrent processing and
When creating a table by yourself, create a field type as varchar (2). In fact, it should be set to int (2. Because I can only output numbers. There's nothing to do with this. It's nothing more than taking up some space. I'm too lazy to change it.
MySQL supports int (m) 'id' int (4) unsigned zerofill not null
Specify the display width (for example, INT (4) of the integer in the parentheses following the type keyword )).
It must be used in combination with the optional extension attribute
1. applications (such as PHP) execute MySQL statements in batches for a long time. The most common is collection or conversion of New and Old data.
Solution:
Add or modify the following two variables in the my. CNF file:
Wait_timeout =
Basic MySQL parameter settings
Create a database with the UTF-8 character set
Two tables are created. The test1 character set is gb2312 and test2utf8 is UTF-8.
The data in the table is in Chinese.
Follow these steps to create a report using
I had nothing to worry about. I found an exercise to write at work. The contact question is for MySQL below SQL Server 2000.
One-word explanation (2 points/time) 34 points
Data database RDBMS Relational Database Management System grant authorization
There are a lot of articles on how Delphi connects to the MySQL database. Here, I only record the methods I have tested for use.System Environment: Windows XP SP3Software environment: Delphi 7, mysql-installer-5.5.15.0
1. ODBC ModeYou must first
The MySQL stored procedure can directly return the result set with the out parameter.For example:Stored Procedure:
Create procedure 'test' (in _ login varchar (32), In _ psw varchar (32 ), out _ ret integer (10), out _ id INTEGER (10), out _
MySQL// Add a fieldAlter table cdb_forumlinks add type smallint default 1;
Alter table cdb_forumlinks add views int default 0;
// Delete a fieldAlter table cdb_forumlinks drop type;Alter table cdb_forumlinks drop views;
// Modify the fieldAlter
The company went to MySQL 5.0, and what followed was not how easy it was to use, but how easy it was to use mysqlcc... the error message "[192.168.22.72] Error 1146: Table 'rimkpi. 1 'doesn' t exist. You cannot directly modify the selected data in
Create and delete Indexes
You can create an index in the create table statement, or use the create index or alter table statement to add an index to the table. You can use alter table or drop index statements to delete indexes.
(1) Use the alter
If you have any questions, check:
Delimiter |
Create procedure sorttable ()BeginDeclare Val int;Set val = 1;Declare curtable cursor for select * From t_ruanko_ke_answer order by qid ASC;/* Capture and set the loop when a cursor exception occurs.
MySQL does not allow the select from statement to point to the table used for update. Of course, there is a better way than creating an endless temporary table. This article explains how to update a table and use select in the query clause.Problem
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.