Skip to content

About

No description, website, or topics provided.

Resources

Stars

2 stars

Watchers

1 watching

Forks

Repository files navigation

A 3-panel Dilbert comic. In the first panel, the manager character is standing on the left-side behind Dilbert, while Dilbert -- the developer character -- sits at his computer desk on the right-hand-side. The manager says to Dilbert, "I think we should build an SQL database." Dilbert thinks, "uh-oh". In the second panel, the camera looks Dilbert in the face. Dilbert wonders, "Does he understand what he said [sic] or is it something he saw in a trade magazine ad?" In the third panel, Dilbert turns in his chair -- now facing the reader. Dilbert says, "What color do you want that database?" The manager narrows his eyes and says, "I think mauve has the most RAM."

Web-based University Database Management

Instructor: Associate professor Dr. Luis Gabriel Jaimes

Course Name: Database 1

Course ID: COP 3710

Abstract

This is

Requirements:

  • MySQL
  • Ubuntu
  • Apache2

How to run the project locally:

Clone the repository to your /var/www/html folder.

sudo apt install git # Ubuntu uses apt.
git clone https://github.com/Benjamin-Voor/Web-based-University-Database-Management.git \
/var/www/html # You need the files to be located in /var/www/html/

(Note: If using WSL, transfer them to \\wsl.localhost\Ubuntu\var\www\html)

Navigate to /var/www/html/database/ And then execute the following commands

mysql < schema.sql -u root -p
mysql < data.sql -u root -p

In Ubuntu, type:

sudo systemctl start apache2
sudo systemctl start MySQL

In web browser, type: localhost/customer.php

Miscellaneous tips

  • To access MYSQL databases:

    MySQL -u root -p

  • to open a file from the php/ folder in your browser, enter it after the slash in your address bar. The below example access the file named index.php:

    localhost/index.php # replace with your file name

  • Use nano, vim, or vi to edit files in ubuntu. The below example edits the index.php file:

    sudoedit index.php # Use elevated permissions outside user folder

copyright?

We recommend checking out the references we cite for more in-depth training on socket programming in Python. Other than that, we deem ourselves too amateur to require a license.

Disclaimer

You run this code at your own risk. We are not responsible if your server and client data are leaked. Beyond that, we recommend sending impersonal information on a trustworthy internet connection.

References

Link to the Dilbert comic, posted on Reddit, then archived with the Wayback Machine: https://web.archive.org/web/20230601034548/https://www.reddit.com/r/ProgrammerHumor/comments/26gyn6/i_think_we_should_build_a_sql_database/

Link to the original Reddit post: https://www.reddit.com/r/ProgrammerHumor/comments/26gyn6/i_think_we_should_build_a_sql_database/

About

No description, website, or topics provided.

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages