Home>
I want to achieve
After moving to the laravel project and creating a table, running php artisan migrate is an error. Please let me know the question
Error messageat C: \ Users \ n \ Desktop \ app2 \ vendor \ laravel \ framework \ src \ Illuminate \ Database \ Connection.php: 664
660 | // If an exception occurs when attempting to run a query, we'll format the error
661 | // message to include the bindings with SQL, which will make this exception a
662 | // lot more helpful to the developer instead of just the database's errors.
663 | catch (Exception $e) {
>664 | throw new QueryException (
665 | $query, $this->prepareBindings ($bindings), $e
666 |);
667 |
668 |
Exception trace:
C: \ Users \ n \ Desktop \ app2 \ vendor \ laravel \ framework \ src \ Illuminate \ Database \ Connectors \ Connector.php: 70
2 PDO :: __ construct ("mysql: host = 127.0.0.1;port = 3306;dbname = homestead", "homestead", "secret", [])
C: \ Users \ n \ Desktop \ app2 \ vendor \ laravel \ framework \ src \ Illuminate \ Database \ Connectors \ Connector.php: 70
Please use the argument -v to see more details.
Supplemental information (FW/tool version etc.)
https://www.tutorialfor.com/go.php?id=122336 was in the same situation, so let ’s check it out.
OS: windows10
-
Answer # 1
-
Answer # 2
The confirmation was meaningless.
Related articles
- when i give it to heroku, i get an error with php artisan migrate
- i run php artisan migrate but can't connect to the database
- php artisan migrate does not pass
- php - artisan migrate does not work could not find driver
- php artisan migrate: refresh --seed gives an error
- php - i want to do laravel's "hello world!" with xampp
- php - cannot migrate with docker mysql laravel
- php - cannot start mysql with xampp
- windows xp: i want to run php via localhost from command prompt
- php - can't migrate with laravel app
- mysql - error when running ``php artisan migrate'' when creating laravel development environment using docker
- php - [xampp 748] gives an error in the browser
- get mysql column data in xampp with php
- i want to create a table by typing php artisan migrate at the php(laravbel) command prompt
- php - [heroku] when i try to migrate to heroku, i get the following error and am in trouble [laravel]
- php artisan dusk error when running cannot be resolved
- php - xampp startup error does not resolve
- php artisan route: cache results in error
- cannot migrate in php-laravel mysql environment
- when i run [php artisan server] in the laravel terminal, the server does not start
Related questions
- php - i want to do laravel's "hello world!" with xampp
- php - [laravel] how to read and use the class of another file in controller
- php - i want to display the image file saved in the storage folder on the page
- php - xampp error cannot be resolved with m1 mac book pro
- php - why is the error statement returned in the url even though i wrote it with try catch?
- i want to get rid of the no route to host error in php file_get_contents ()
- php, the [else] part of the if-else statement does not work
- php - laravel: i don't know how to send a variable from the controller
- php - please tell me how to put together the route of laravel
- php - i want to read the exif information of an image with exif_read_data ()
xampp doesn't seem to use
homestead
so much, isn't it wrong?