Step 1-install MySQL
Download this server, MySQL GUI tool, and MySQL ODBC driver from http://dev.mysql.com/downloads. You can select 5.0, 5.1, or 6.0 servers. Then install them.
Precautions during installation:
Your Firewall should be set to allow
Software size: 4.09 MB
Software type: domestic software/PHP
Program
Running Environment: win2003, WINXP, Win2000, NT, winme, Win9x, Linux, and PHP
Free version of authorization method
Simplified Chinese software Language
Related connection
I finally got this to work, so I will post my findings here.
// PHP 5: Windows build needs a MySQL DLL// PHP 5.0 doesn' t come with MySQL support... you have to get the librariesyourself...// I think u can get them from mysql.com
// PHP 5 beta
In my website development, I used php4.0 + mysql3.23.38 to establish a variety of applications. Next, we will take a simple chat room design as an example to introduce the application of PHP + MySql in Web development.
1. Overall Design
1.
Source: www.freelamp.com
For websites with lamp architecture, I used to focus mostly on installation/configuration, but there are few development stories, because I am rarely engaged in development. The original text of this article also comes from:
Prepare the software first:
1. install Apache. A common website server is successfully configured.
Run the downloaded "apache_2.0.55-win32-x86-no_ssl.msi", the following interface appears:
On the Installation Wizard Page of Apache HTTP
Principle
Querycache (QC) is cache based on SQL statements. If an SQL query starts with select, the MySQL server will try to use QC for it. Each cache is saved using SQL text as the key. SQL text is not processed before QC is applied. That is to say,
MySQL beginner's guide and introduction
1. Connect to MySQL.Format: mysql-H host address-u user name-P User Password1. Example 1: connect to MySQL on the local machine.First, open the DOS window, enter the directory mysqlbin, then type the command
The column types supported by MySQL are listed below. Below
Code Letters are used in the description:
MSpecifies the maximum display size. The max valid display size is 255.DApplicable to the floating point type and the number of digits
Example:
CopyCode The Code is as follows: Create procedure 'justifygroupnum '()
Not deterministic
SQL Security definer
Comment''
Begin
/* How to Run: Call justifygroupnum ()*/
Declare p_group_id int;
Declare p_num int;
Declare stopflag int;
Declare
Name
Author
Institution
Language
Exec
Multiclass
Regression
Comments
BSVM
Chih-Wei Hsu and Chih-Jen Lin
National Taiwan University
C ++
Win
Yes
Yes
Equbits Foresight
Equbits LLC
We all know that when we create a data table (innodb or myisam), corresponding files (such as MYD, MYI, frm) will be generated)Here, we will discuss how to use the frm file to restore the structure of innodb and myisam tables. However, due to their
LOCATE (substr, str)POSITION (substr IN str)Returns the position of the substring substr that appears for the first time in the str string. If the substring substr does not exist in str, the return value is 0:Mysql> select locate ('bar', 'foobarbar '
Test environment. Basically, the data is synchronized instantly. I hope it will help you.RedHat ES 3 update 3MYSQL 5.0.15MYSQL Data Synchronization backup Server A: master server 192.168.1.2Server B: 192.168.1.3 slave server slaveServer A settings#
If MySQL 5.0.x is usedYou can directly Save the following content and replace my. ini in MySQL. Remember to modify the path of the basedir and datadir columns.Copy codeThe Code is as follows:[Client]Port = 3306[Mysql]Default-character-set =
MYSQL beginner's guide and introduction
1. Connect to MYSQL.Format: mysql-h host address-u user name-p User Password1. Example 1: connect to MYSQL on the local machine.First, open the DOS window, enter the directory mysqlbin, then type the command
At the beginning of the year, I had been working on the migration of a website MSSQL2000-> MySQL5. Because different program systems were used, the main problem was data migration. Because the structure of the two System databases is very different,
Many friends have installed MySQL but do not know how to use it. In this article, we will learn some common MySQL commands from the aspects of connecting to MySQL, changing the password, and adding users.1. Connect to MySQL.Format: mysql-h host
I. mathematical functionsABS (x) returns the absolute value of x.BIN (x) returns the binary value of x (OCT returns octal, HEX returns hexadecimal)CEILING (x) returns the smallest integer greater than x.EXP (x) returns the x power of e (the base of
Usage 1 Copy codeThe Code is as follows:SELECT 'keyword _ rank '. * FROM 'keyword _ rank' WHERE (advertiserid = '59') LIMIT 2 OFFSET 1; For example, in this SQL statement, two pieces of data are followed by the limit statement, and the offset
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