Apache2.0+php5.0+gd+zend+mysql Installation and Configuration
Here are some of my configuration experience, it took me three days to finish. Taking him down is a bit of a reward to himself.
Required
Believe that a lot of use of virtual host, no SSH authority webmaster, the most depressing thing is the MySQL data backup and import, a few megabytes of data file said, but often have dozens of hundreds of megabytes of data need to import export,
When working on a very large table, you may occasionally need to run many queries to get a small subset of a large amount of data, instead of running the query on the entire table, instead of having MySQL find the few records needed each time, it
mysql| Pagination |
/* Store the table structure of the posts------------------------------------------------------
CREATE TABLE Bbsrow (
bbsrow_id Int (6) NOT NULL auto_increment,//posting ID number
Bbsrow_auth varchar NOT NULL,//Post
mysql| Comparison | Paging hardware environment: PIII550,128M,15.2G
Software Environment: Win98+apache+php4+mysql
Programme I:
1. For the first query, use the Select COUNT (1) from tab where condition to obtain the number of records that meet the
Defining Data Tables
If a computer manufacturer, its database is stored in the machine and accessories product information. The table used to keep the whole product information is called a Pc, and the table used to hold the information of accessory
Method One:
Try MySQL adminstrator GUI tool login to MySQL server,server but reply error message: Host ' 60-248-32-13.hinet-ip.hinet.net ' is not allowed to Connect to this
MySQL Server
This is because of the permissions of the problem, the
mysql| Data | Databases Learn to use phpMyAdmin based on Web database management tools.
If you use the right tools, the MySQL database management will be fairly simple. The MySQL command-line approach requires familiarity with MySQL knowledge, as
mysql| Skills | Data batching is a way to run a MySQL program that is not interactive, and you will still use these commands as you would use in MySQL.
In order to implement batch processing, you redirect a file to a MySQL program, first we
mysql| Notes | data | database
Databases are closely linked to everyday applications, and people process various kinds of information by hand, before the database is present. When the information required to record processing is very long, manual
mysql| detailed or Create table first
CREATE TABLE EMP (ID int NOT NULL PRIMARY key,Name varchar (10));
CREATE TABLE Emp_dept (dept_id varchar (4) NOT NULL,emp_id int NOT NULL,Emp_name varchar (10),Primary KEY (dept_id,emp_id));
INSERT into EMP ()
mysql| Data | Database in the Linux community enjoys a high reputation of the MySQL database, with its small, powerful, full of free and famous. However, for many users, it is sometimes necessary to browse and analyze the data in Windows, while
Mysql> \s or status can query the MySQL status profile
--------------
MySQL Ver 14.14 distrib 5.1.69, for Redhat-linux-gnu (x86_64) using ReadLine 5.1
Connection id:28035 #连接ID
Current database: #当前数据库
Current User:root@localhost #当前登录用户
MySQL Hot standby
Backup MySQL regularly in operational dimensions to prepare for recovered data after the crash. Generally divided into Lengbei and hot spare, cold standby is to stop the MySQL service, direct CP file, but in the production
Environment: MySQL Sever 5.1 + MySQL command line tool
Issue: Create a user, authorize by using the command line
1. Create User:
Command: CREATE USER username identified by ' password ';
Description: username--You will create the username,
As long as the description of several day-to-day use of the query can be optimized place, only special circumstances can be used, do not expect any circumstances are set up, optimization is a long process of practice!
Optimization of maximum and
MySQL provides the following three ways to get metadata for database objects:
1) Show statement
2 query related tables from INFORMATION_SCHEMA database
3 command line program, such as Mysqlshow, mysqldump
Get Meta data with show statement
MySQL
MySQL Storage engine MyISAM
1, create MyISAM table
Mysql> CREATE TABLE t (ID int, name varchar (), msg varchar ()) engine = MyISAM;
Mysql> Show Table status like "T" \g;
1. Row
installing MySQL
sudo apt-get install Mysql-server
This should be very simple, and I think everyone in the installation is not too much problem, so it is not much to say, the following we talk about configuration.
Configure MySQL
Note that under
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