Based on instructions starting at SWDestinyDB.
Install MySQL
-
-
sudo apt install mysql-client-core-5.7
sudo apt install mariadb-client-core-10.1
sudo apt install mysql-server
sudo service mysql stop
sudo mysqld_safe –skip-grant-tables
mysql -u root
use mysql;
show tables;
update user set authentication_string=password('1111') where user='root';
sudo service mysql start
Useful commands
sudo netstat -tap | grep mysql
sudo systemctl restart mysql.service
Install PHP
sudo apt install php7.2-cli
sudo apt install hhvm
sudo apt install php-curl
sudo apt install phpoffice
Install Composer
-
Using sudo apt install composer
Install SWDestinyDB from github
cd repositories
-
cd swdestinydb
composer install
mysql:root@127.0.0.1/swdestinydb