The database Asp.net + MSSQL 2000 was used by the website. As a result, the new project says that the MSSQL database is too expensive and you need to change it to MySQL.
Connector/NET 6.3.5
Http://www.mysql.com/downloads/connector/net/
Before reading this, make sure that you have correctly loaded the PDO extension.
Edit PHP. ini.
Manually add the two rows (no semicolon before ;):
Extension = php_pdo.dll
Extension = php_pdo_mysql.dll
Then, set extension_dir
First, view the current character set in MySQL.
Mysql> show variables like "% char % ";
+ -------------------------- + ---------------------------- +
| Variable_name | value |
+ -------------------------- + ---------------------------- +
|
Miscellaneous Functions
Name
Description
Default ()
Return the default value for a table column
Get_lock ()
Get a named lock
Inet_aton ()
Return the numeric
Mysqldump-u user name-P password-P port number -- database name -- tables Table Name> C:/export file name. SQL
1. The parameter-P can be omitted unless your port number is not the default port number of MySQL.
2. If you do not write the -- tables
Version: mysql-noinstall-5.1.53-win32.zip
To reduce the volume, just extract the bin data share three folders and all files under the mysql-5.1.53-win32 directory.
After decompression, copy either of the my-small.ini my-medium.ini my-large.ini
~~ Syntax ~~
CreateTriggerTrigger name> -- The Trigger must have a name and a maximum of 64 characters. It may be followed by a separator. It is similar to the naming method of other objects in MySQL. {Before|After} -- Trigger has the execution
Back_log
Specify the number of possible MySQL connections. When the MySQL main thread receives many connection requests in a short time, this parameter takes effect. Then the main thread takes some time (although very short) to check the
PHP: Server scripting language
PHP Runtime Environment (installation required ).
Supported OS: 5.4 (inclusive) supports WINXP and winserver, and later does not support
Apache: Web Service Release Software
Developer: National Computer
Code:
/* Simple C program that connects to MySQL Database Server */ # Include # Include Main (){ Char * Begin = " \ N + -------------- begin --------------- + \ n " ; Printf (BEGIN );MySQL * Conn; mysql_res *Res; mysql_row row; Char *
What is an index? Indexes are used to quickly search for records with specific values. All MySQL indexes are saved as B-trees. If no index exists, MySQL must scan all the records of the entire table from the first record until the required
Use MySQLUpdate user SET Password = PASSWORD ('newpassword') where user = 'root ';Flush privileges;
1. Modify the user table of the MySQL database in the MySQL databaseYou can use normal update and insert statements.
2. Use the following command
RENAME TABLETbl_nameToNew_tbl_name[,Tbl_name2ToNew_tbl_name2]...
Alter {database | schema }[Db_name] {[Default] Character Set [=]Charset_name| [Default] collate [=]Collation_name}
Create {database | schema} [if not
Generally, query logs and slow query logs can be written to the OS file system or as a log table of the MySQL system!
The log strap brings a lot of convenience, and of course it will bring a certain amount of system load to MySQL! Need to weigh.
MySQL storage engines include transaction and non-transaction types.
MySQL supports local transactions-that is, each connection session can freely control the processing of transactions. MySQL uses the automatic transaction commit mode by default.
Number Type: allows you to set the display width of integers. This setting does not affect the actual range of values. For bit, floating point, and fixed point decimal places, M indicates the number of valid digits, the range of impact values.
Creating a website on Windows is a good thing. Due to the popularity of open-source software, Apache + PHP + MySQL has become the first choice for many people. However, compared with the IIS provided by windows, for the first time users build
Download the latest Apache, PHP, and MySQL from various official websites.
1. Apache HTTP Server 2.2.14 Win32 binary including OpenSSLUR: http://httpd.apache.org/download.cgi
2.Php-5.2.11-Win32.zip
URL: http://www.php.net/downloads.php
3.
I don't know how the database works, but I don't know how to operate the database. It's not difficult to use commands. I have a couple of plants and birds. Haha, it's very nice to use it, reprinted a good blog written by everyone to learn this
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