The IIS,PHP4 and MySQL packages are php-4.0.1pl2-win32.zip, Mysql-3.23.19-beta-win.zip.
Windows2000 (p) + IIS 5.O
1: Install MySQL
After the setup all ok but Run:c:mysqlinmysqld-nt.exe--install "Start" button, "program" = "management Tool" =
The General Personal free homepage space will not provide MySQL support, is to provide also very harsh, so looking for a good alternative is very important oh!
PHP's file processing is very powerful, so you can use file access to replace it!
(To
Generally speaking, the left connection, outer connection refers to the left outer connection, right outer connection. Do a simple test, you see.First, left outer and right outer joins:
The code is as follows
Copy Code
An index is a special file (an index on a INNODB datasheet is an integral part of a tablespace) that contains a reference pointer to all records in the datasheet. Note: [1] The index is not omnipotent! Indexing speeds up data retrieval operations,
When you start MySQL prompts MySQL to start, view the system event log as follows
Could not open log file
Can't read the log file can not open, at the time to the MySQL data directory of a xxxx-b59093774c.err error file, open the following a
Remote computer opens MySQL server:
#/etc/init.d/mysql.server start
The local computer connects to a remote MySQL server:
./mysql-h "192.168.1.244"-u root-p
An error occurred:
ERROR 1130 (HY000): Host ' 192.168.1.100 ' isn't allowed to connect
1, install the MySQL 5.5.x yum sourceRPM-UVH http://repo.webtatic.com/yum/centos/5/latest.rpm2, the installation of MySQL client Support package:Yum Install libmysqlclient15--enablerepo=webtatic3, uninstall the old version of MySQL software
View MySQL Port is open
netstat-tanl | grep 3306
MySQL User's authorization
Mysql-uroot-p
View the existing User authorization table
Select User,host,password from Mysql.user;
Test connection to other MySQL server
Mysql-uroot-p-h192.168.0.100
Need to create a remote account on the server side of MySQL, the default root remote is not login.
1. Create a remote account
The code is as follows
Copy Code
Create user ' test ' @ ' 223.4.19.112 ' identified by '
Wamp installed, the MySQL password is empty, then how to modify it? In fact, it is very simple, through a few instructions on the line, I have to operate the next step.
First, open the MySQL console via Wamp.
Prompt for password, because it is
First Solution:
If you specify the on DUPLICATE KEY Update command statement, the duplicate contents of the database record will not be inserted under the unique index or the primary index, but the old records in the database are also updated. For
Tenth chapter (3) Upload multiple files and file download processingContinue: Used in a loop structure to skip the remaining code in this loop and start the next loop.For more information, see PHP video.
DatabaseQuery statement:SELECT field name
MySQL's most common index structure is btree (O (n)), but there are always situations where we want to use other types of indexes for better performance. Hash is one of the options, for example, when we retrieve the user ID by user name, they are
In other words, there is an article table article, the time to store the article is the Add_time field, which is type int (5), now needs to query the total number of articles added today and sorted by time from big to small, the query statement is
1, select the most applicable field properties MySQL can support large amount of data access, but generally speaking, the smaller the table in the database, the faster the query executed on it. Therefore, in order to achieve better performance
Indexes are used to quickly find rows that have a specific value in a column. Without indexing, MySQL must start with the 1th record and read through the entire table until the relevant rows are found. The larger the table, the more time it takes.
MySQL Character set: cp1252 West European (latin1), solve garbled problem
Use the virtual host space on the phpMyAdmin operation database, if you see the phpMyAdmin home page on the MySQL character set for cp1252 West European (latin1), when we
Like *unix version:
Here is the wrong answer:
First stop the MySQL service and then start it with the Skip-grant-tables parameter:
The code is as follows
Copy Code
Shell>/etc/init.d/mysql StopShell>
First of all, I used Perl to save files in the DBM database with more than 50,000 records and 15 fields per record. Now want to use MySQL, to the record guide over. The first step, all the DBM records are imported into a text file, each field is
Yum install MySQL
First, install MySQL.Yum List | grep MySQL; Select the appropriate version, Yum intall the version;Yum List | grep mysql-server; Select the appropriate version, Yum intall the version.After the installation is complete, add 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.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service