Check your DB_HOST
on your .env
file
DB_HOST=http://localhost/
–> DB_HOST=localhost
Result:
I can migrate peacefully now.
php artisan migrate
Migration table created successfully.
Migrated: 2014_10_12_000000_create_users_table
More Related Contents:
- Laravel 5 PDOException Could Not Find Driver
- Laravel migration: unique key is too long, even if specified
- Laravel 5.2 – Use a String as a Custom Primary Key for Eloquent Table becomes 0
- How Can I Set the Default Value of a Timestamp Column to the Current Timestamp with Laravel Migrations?
- Laravel 5.4 on PHP 7.0: PDO Exception – Could not find driver (MySQL)
- How can I do a migration in laravel 5.5?
- Eloquent groupBy make “SQLSTATE[42000]” with valid SQL query in Laravel 5.3
- find in set in laravel ? example
- Laravel combined OR AND Solution
- Laravel 5 – How to access image uploaded in storage within View?
- How to do this in Laravel, subquery where in
- How can I convert many statement mysql to laravel eloquent?
- Laravel: How to Get Current Route Name? (v5 … v7)
- Laravel Checking If a Record Exists
- How to execute Stored Procedure from Laravel
- Why do I have to run “composer dump-autoload” command to make migrations work in laravel?
- How to redirect back to form with input – Laravel 5
- Laravel 5 hasMany relationship on two columns
- “No such file or directory” or “No such host is known” when running migrations
- Laravel 5.2 Auth not Working
- Laravel 5.5 Error Base table or view already exists: 1050 Table ‘users’ already exists
- Laravel 5 – Clear Cache in Shared Hosting Server
- Laravel 5 change public_path()
- Fatal error: Class ‘Illuminate\Foundation\Application’ not found
- How to set the default value of an attribute on a Laravel model [duplicate]
- php artisan migrate throwing [PDO Exception] Could not find driver – Using Laravel
- Change name of Laravel’s created_at and updated_at
- How do I get database column names in Laravel?
- Eloquent many-to-many-to-many – how to load distant relation easily
- How to create a database-driven multi-level navigation menu using Laravel