如何将excel文件转换成mysql数据库? [英] How to convert excel file into mysql database?

查看:169
本文介绍了如何将excel文件转换成mysql数据库?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的老板希望我为现有的Excel文件创建一个mysql数据库。我想知道是否有任何方法来转换或导入excel文件?我已经搜索google,但没有找到任何有用的。我感谢任何回复....谢谢。

解决方案

如果您有一个Web服务器启动并运行PHP支持,我强烈建议 phpMyAdmin


  1. 将其配置为连接到MySQL

  2. 创建数据库和表

  3. 单击导入选项卡,然后导入CSV。

如果这是一个简单的一次性导入,这可能是不值得的努力。另一方面,如果再次与MySQL一起使用,您将永远不会后悔安装和配置phpMyAdmin的时间。


my boss wants me to create a mysql database for an existing excel file. I was wondering if there are any ways to do convert or import excel file? I have searched google but didn't find anything useful. I appreciate for any reply....Thanks.

解决方案

If you have a web server up and running with PHP support, I highly recommend phpMyAdmin.

  1. Configure it to connect to MySQL
  2. Create the Database and table
  3. Click the import tab and you can import a CSV.

If this is a simple one-time import this probably isn't worth the effort. If, on the other hand, you will ever have to work with MySQL again, you will never regret the time to install and configure phpMyAdmin.

这篇关于如何将excel文件转换成mysql数据库?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆