我正在学习构建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/
好的,所以我显然有能力完成第一名! :)
那么,关于数字2,如何在服务器上创建数据库?
我理解第3点,指的是创建数据库后,我使用SQL转储文件构造一些示例数据的事实。
我还不能说#4和#5,但是我们到时会看到。
因此,我想我只需要知道如何在Web服务器上构造MySQL数据库即可。
最佳答案
最简单的方法:在远程服务器上安装phpmyadmin,然后从该Web界面进行操作。
关于mysql - 在服务器上创建MySQL数据库,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/3964597/