【发布时间】:2010-10-19 00:43:15
【问题描述】:
我正在学习构建 PHP 和 MySQL 电子商务驱动网站的教程,目前我正在将它们上传到我的服务器,但需要一些帮助来确定如何继续。
在教程的README中,有如下说明:
INSTALLATION INSTRUCTIONS
1.) Unzip plaincart.zip to the root folder under your
HTTP directory ( or under your preferred directory)
2.) Create a database and database user on your web
server for Plaincart
3.) Use the sql dump in plaincart.sql to generate the
tables and example data
4.) Modify the database connection settings in
library/config.php.
5.) If you want to accept paypal modify the settings
in include/paypal/paypal.inc.php . More information
about this paypal stuff can be found in
http://www.phpwebcommerce.com/shop-checkout-process/
好的,所以我显然有足够的能力完成#1! :)
那么,关于第 2 点,如何在我的服务器上创建数据库?
我理解数字 3,指的是我在创建数据库后使用 SQL 转储文件来构造一些示例数据。
我还不能说出 #4 和 #5,但我们会看到何时到达那里。
所以,我想我只需要知道如何在我的网络服务器上构建一个 MySQL 数据库。
【问题讨论】:
-
您是否也有您正在创建的数据库架构的文件?将数据导入到您没有任何信息的架构中听起来像是一项艰巨的任务。
-
架构是什么意思?我有一个 SQL 转储。如果这就是你的意思。
标签: mysql database connection database-connection mysqldump