There are many methods, but we recommend that you first look at the MySQL development documentation, which is very detailed. If you are too lazy to read it, you can refer to the following
1. There is a software PHP Excel parser pro v4.2 can, you can download here: http://down.chinaz.com/s/9459.asp
2. Save the Excel file in CSV format. Then use phpMyAdmin to import MySQL
3. Import access to MySQL, or write it by yourself. Program Read the data in Excel and store it in MySQL.
4. Another stupid manual method is to use Excel to generate an SQL statement and then run it in MySQL. This method is suitable for importing an Excel table to various SQL databases:
1. Assume that your table contains columns A, B, and C and you want to import the data to the table in your database. The corresponding fields are col1, col2, and col3.
2. Add a column to your table and use the Excel Formula to automatically generate an SQL statement. The specific method is as follows:
1. Add a column (assuming column D)
2. In column D of the first row, enter the formula in D1:
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.