在服务器上创建MySQL数据库

发布于 2024-09-28 09:13:56 字数 899 浏览 0 评论 0原文

我正在遵循构建 PHP 和 MySQL 电子商务驱动网站的教程,目前我正在将它们上传到我的服务器,但需要一些帮助来确定如何继续。

在本教程的自述文件中,有以下说明:

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! :)

那么,关于第二点,如何在我的服务器上创建数据库?

我理解第三点,指的是在创建数据库后我使用 SQL 转储文件来构造一些示例数据。

我还不能告诉#4 和#5,但我们到了之后就会知道。

所以,我想我只需要知道如何在我的网络服务器上构建 MySQL 数据库。

I'm following a tutorial for constructing a PHP and MySQL ecommerce driven website, and I'm uploading them to my server at the moment, but in need of some assistance determining how to proceed.

In the README of the tutorial, are the following instructions:

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/

OK, so I obviously am capable enough to complete #1! :)

So, on to number 2, how to I create a database on my server?

I understad number 3, referring to the fact that I use the SQL dump file to construct some sample data once the database has been created.

I can't tell about #4 and #5 yet, but we'll see when we get there.

So, I guess I just need to know how to construct a MySQL database on my web server.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

寄居人 2024-10-05 09:13:56

最简单的方法:在远程服务器上安装 phpmyadmin ,并从该 Web 界面执行此操作。

Easiest way: install phpmyadmin on the remote server, and do it from that web interface.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文