联系方式

  • QQ:99515681
  • 邮箱:99515681@qq.com
  • 工作时间:8:00-21:00
  • 微信:codinghelp

您当前位置:首页 >> Database作业Database作业

日期:2019-04-20 01:17

Overview:In this assignment, you will set up a MySQL server, and install a PHP script that reads it. The primary materiel for this assignment is contained in lecture 19.You have the option of using the mysql interface to manage the databases, or if you wish, you can install phpmyadmin.

Step 1:

Install MySQL on your linux server.

Run the myssql_secure_installation to configure basic options.

To test the installation, go into the mysql interface (the command "mysql"), and enter the sql command "show databases;" You should see a list of available databases.

Step 2:

Create an account & database that can use that account.

To create the university database, run this script through mysql.

The mysql command "show databases" can be used to list the database. The mysql command "show grants" can be used to show user permissions.


Step 3:

Install php-mysql module, restart the apache service.

Upload a PHP web page that queries the database with a result.

To test this, use a web browser to view the page.


版权所有:编程辅导网 2021 All Rights Reserved 联系方式:QQ:99515681 微信:codinghelp 电子信箱:99515681@qq.com
免责声明:本站部分内容从网络整理而来,只供参考!如有版权问题可联系本站删除。 站长地图

python代写
微信客服:codinghelp