Match ASP with MySQL
Required tools
Mysql-4.1.11-win32Myodbc-3.51.11-1-dllMyodbc-3.51.11-1-winMysqlcc-0.9.4-win32
-------------------------------------------------------------------
Register the file mydbc. Reg
Regedit4
I. system requirements:
The system passed the redhat7.2 test.
Ii. server software requirements:
1: Download Apache Web Server http://www.apache.org/
2. Go to the PHP Web site to download the PHP parser http://www.php.net/
3. Download the
I just saw someone posting the installation steps in windows.
It's just today that the company's website has a new server. It took me one morning to install MySQL + PHP + Apache.
The old version of the new version is still somewhat different.
// This page is "say. php"
Include "signup/MySQL. Inc ";
If ($ id1 ){
$ SQL = "select * from $ table where id = '$ id1'"; // a reply question is displayed.
$ Result = mysql_query ($ SQL) or die (mysql_error ());
$ ROW = mysql_fetch_array ($ result );
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
If you forget your MYSQL root Password, you can recover it through the following process.
1. Send the kill command to the mysqld server to disable the mysqld server (not kill-9). The files that store the process ID are usually located in the
Log on to the MySQL Administrator with the following error: Either the server service or the configuration file cocould not be found. Startup variable and service section are there for disabled.After you log on to MySQL as a Root user, the
My personal practice is: phpmyadmin exports abc. SQL in UTF-8 insert modeFtp abc. SQL to serverSsh to serverMysql-u abc-pUse KKK (database name, if not, create database KKK)Set names 'utf8'Source abc. SQLNote: I have seen the set character set utf8;
Import notes:Using tools such as phpmyadmin or navicat to import data is still quite slow. You can directly use mysql to import data.The import command is as follows:Mysql>-uRoot-PSupidea Jb51.netE: \ www.jb51.net. SQLYou canNote:Mysql>-uMysql user
At noon yesterday, I helped the carp to transfer database servers to a large group buying website. This article was supposed to be summarized after the transfer was completed yesterday. However, due to some reasons, I did not write it out in time.
MySQL (the best combination with PHP) database errors caused by power failure or abnormal shutdown are very common problems. There are two ways to use the SQL statement of check table and repair table in MySQL (the best combination with PHP, another
For those who often use MYSQL, phpmyadmin is a necessary tool. This tool is very powerful and can complete almost all database operations, but it also has a weakness. It will be very slow when importing large data files to the remote server, even if
Method 1: More detailedThe following articles mainly introduce the operation process of enabling remote connection for MySQL database. In fact, it is not difficult to start the actual operation steps of remote connection for MySQL database, today,
After MYSQL exports an SQL statement:DELIMITER $Drop trigger if exists 'updateegopriceondelete' $CREATETRIGGER 'updateegopriceondelete' after delete on 'mermerinfo'FOR EACH ROW BEGINDelete from egoprice WHERE customerId = OLD. customerId;END
SELECT statement to remove duplicate information of a field, for example:Table Name: tableId uid username message dateline1 6 a 111 1284240714 (timestamp)2 6 a 222 12688405653 8 B 444 12667245274 9 c 555 1266723391Execute the statement (remove
Recently, I got a MySQL script file of dozens of MB, which is ready to be restored to a database.
I used MySQL-Front for a short time. I tried it first and the result was suspended.
In this case, create an empty database with MySQL-Front and use
Using MYSQL for database backup is also a regular database backup method. It has the same concept as other database servers, but have you ever thought about it, mySQL will have a simpler backup method using the file directory, and it will be faster
Update: it is unnecessary to update a single table. The two are the same, mainly about updating multiple tables.Copy codeThe Code is as follows:Oracle> Oracle has strict requirements for multi-Table update, so sometimes it is not very easy to write.
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