Versions Compared

Key

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

...

Note
Between the -p and the password is no space-character! If you your passwort is "hello1234", then this part of the command will be: -phello1234

...

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

# create the database
mysql -u root -e "CREATE DATABASE nmsprime CHARACTER SET 'utf8mb4' COLLATE 'utf8mb4_unicode_ci';"

# change directory to the artisan folder in nmsprime
cd /var/www/nmsprime/artisan
# use php artisan to start the migrate-process
php artisan migrate



For manually recreating the database, please refer toAlso of interest: Database Setup