Migration does not work.I am using laravel 5.6.
We are doing the first slide 66 below.
https://schoo.jp/class/3651#
Run Results
phpartisan migrate
<!doctype html>
<html>
<head>
<title>Sample</title>
<style>
body {color:gray;}
h1 {font-size:18pt;font-weight:bold;}
</style>
</head>
<body>
debug 22<h1>Sample</h1>
<p>dai</p>
</body>
Illuminate\Database\QueryException
SQLSTATE [HY000] [1049] Unknown database 'daikunn-mygle' (SQL: select * from information_schema.tables where table_schema=migle and table_name=migration)
s)s)
PDOException
SQLSTATE [HY000] [1049] Unknown database 'mygle'
I want to do the following, but the information shows that mygle is missing.
This seems to be a migration that I made before, but if I don't delete it, will it not work?
2017_12_11_101415_create_tweet_table.php
I think it's probably the same if you go with phpmyadmin, so I don't mind making it here, so I'd appreciate it if you could let me know so that beginners can understand it.
Actually, I hope it's a beginner's book of laravel, but maybe because of the new book, there are no beginner's books yet.
mysql laravel
If you don't understand a question without looking at schoo, I think it's better to use schoo.
Basically, you can do such teaching materials if you do as you are told, so you may have made a mistake in the procedure somewhere.
If you say you don't have a DB, I think you're missing the steps to create a DB.I recommend that you look at the textbook again.
© 2024 OneMinuteCode. All rights reserved.