Original article: http:// I .19830102.com/archives/164
Python: 2.6
: Http://www.python.org/download/releases/2.6.1/
Download and install the MSI file
Mysqldb version: MySQL-python-1.2.2.win32-py2.6.exe
:
1. enter the MySQL command line; 2. enter the password. 3. determines whether the database exists. If yes, delete drop database xxx; 4. create Database xxx; 5. use Database use xxx; (Note: The above XXX is the database name, which can be found in
For example, if my user name is root and the password is 123 SQL script, the C disk name is test. The SQL database name is test.
There are two ways to execute the script
1: Open CMD and enter the following command (directory conversion is not
$ STR = "create table test (Id int (11) not null auto_increment primary key,Name varchar (255) not null,IP varchar (255) not null,Ly text not null,Addtime datetime not null default '2017-00-00 00:00:00 ',) Type = InnoDB ;";
Version: MySQL 5.0------
MySQL, as an open-source and lightweight database product, is really good. It is the first choice for making open-source, demonstration, and even small business projects.
I personally think that its biggest characteristic is "lightweight", "simple"
MySQL 3.23.x/4.0.x Remote Exploit/* exp for MySQL
* Proof of concept
* Using JMP * eax
* Bkbll (bkbll@cnhonker.net, bkbll@tom.com)
* Compile: gcc-O MySQL. C-L/usr/lib/MySQL-lmysqlclient
* Do not distrubited it
*/
# Include
# Include
# Include
#
Import java. SQL .*;
/**
* JavaBean on the logon page
* @ Author datuo
*
*/
Public class DB
{
Connection connect = NULL;
Resultset rs = NULL;
Public dB ()
{
Try
{
Class. forname ("org. gjt. Mm. MySQL. Driver"). newinstance (); // you can specify
Abstract: This article describes in detail how to install and debug MySQL, and how to use VC to compile and implement functions such as adding, modifying, and deleting data.
1. Install MySQL
You can consider installing the mysql-5.0.41-win32 (can go
A few days ago, my beloved Windows Server 2003 system suddenly crashed and everything was loaded. Fortunately, I installed a dual system, and I still had a system to use. I tried a lot of methods in the recovery process. then I went to Baidu to
MySQL getting started (3)
-- Learning
After learning some basic operation commands, let's learn how to create a database and a database table.
1. Use the show statement to find out the current database on the server:
Mysql> show databases;+ --------
1: key_column_usage tableConstraint _Schema: Database NameTable _Schema: Database NameTable_name: stores database table information.Column_name: stores the field information of the database. Generally, you can obtain the information of the first or
PS: This article is reproduced from http://blog.csdn.net/lyjinger/article/details/1648845
Lyjinger software: MySQL Server installation and configuration
Note: I have some experiences in installing and configuring the MySQL server. MySQL 5.0.41,
First look at the instance:$ Keyword = "1 2 3 ";Echo $ SQL = search ($ keyword, "enter_gongyin_pic", "A + B + C"); // function generation, no limit, no orderGeneration:Select * From 'enter _ gongyin_pic 'where 'a' like' % 100' or 'A' like '% 100' or
1. Win + R-> Enter cmd to enter the command line,
2. Go to the bin directory under the MySQL installation directory) G: \ Program Files \ mysql server 5.6 \ bin
3. Enter
Mysql-u root-pyoupassword
Press enter and you will be prompted to enter the
Data Operations
Select -- retrieve data rows and columns from database tables
Insert -- add new data rows to the database table
Delete -- delete data rows from a database table
Update -- update data in the database table
Select
General
MySQL backup (mysqldump)
mysqldumpSQL-level backup mechanism is used to export data tables into SQL script files, which is suitable for upgrading between different MySQL versions. This is also the most common backup method.Let's talk about it
(1) back_log:
The number of connections that MySQL can have. When the main MySQL thread receives a lot of connection requests in a very short period of time, this works, and then the main thread takes some time (although very short) to check the
StartMysqld
LoginMysql-u username-P Password
StopMysqladmin-u username Shutdown
View Current Character Set settingsShow variables like 'character/_ set/_ % ';
Set Character SetSet character_set_results = GBK;Set the character set of client,
1. Import the source code or jar package of xpagerv2.0 into the project.
2. Merge page. TLD into your WEB-INF.3. Add in Web. xml:/xdevelop.net/taglibs/page /WEB-INF/page. TLD
4. in JSP:
Webapplicationcontext WAC = webapplicationcontextutils.
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.