Food Ordering Website
Use Mysql 8.0 Command Line Client as a Backened
- Saving .sql file to MysqlServer/bin folder
- Create a database:
create database DatabaseName;
- Use this database:
use DatabaseName;
- Importing Database:
- On Windows:
source filename.sql;
- On Linux:
$ mysql -u Username -p DatabaseName < output_file_path
- On Windows:
shell
$ mysqldump -u YourUserName -p DatabaseName > output_file_path;
mysqldump -u YourUserName -p DatabaseName > filename.sql;
Change password of dbconnect.php file as per your Mysql 8.0 Command Line Client password
- Install Apache Server for Linux Distributions
- Install XAMPP Server for Windows
- Save all the Crispy file to xampp/htdocs folder. Start your Apache server.
- URL path :
localhost/Your_path/index.php
- Close the xampp server.
- Save all the Crispy files to
/var/www/
folder. - Start Apache server using command:
$ sudo systemctl start apache2.service
- URL path :
localhost/Your_path/index.php
- Close the server using command:
$ sudo systemctl stop apache2.service