1: temporarily use
Navicat installation and configuration:
Download:
http://pan.baidu.com/s/lslvzqzF
Password: 4eqp
2: Database Design
3: Implementing Database
The actual development of the project is not set up foreign keys are preserving data integrity, consistency through the program.
[Category] Primary Key: c_id
[Table] Primary Product: p_id; p_price data type of decimal 10; p_image varchar 255;
[User table] primary key: id; tel int 11;
[Orders table] Primary: order_id; order_state tinyint 1 (1 indicates payment, payment represents an 2, 0);