Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagebash
# drop your existing database:
mysql -u root -e "drop database nmsprime"

#databases and create the databasedatabases again
mysql -u root -e "DROP DATABASE nmsprime; DROP DATABASE nmsprime_ccc; CREATE DATABASE nmsprime CHARACTER SET 'utf8mb4' COLLATE 'utf8mb4_unicode_ci'; CREATE DATABASE nmsprime_ccc CHARACTER SET 'utf8mb4' COLLATE 'utf8mb4_unicode_ci';"

# change directory to the artisan folder in nmsprime
cd /var/www/nmsprime/

# use php artisan to start the migrate-process
php artisan migrate
php artisan module:migrate

...