Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Illuminate\Database\QueryException #2

Closed
aliefardiansyah opened this issue Mar 4, 2021 · 0 comments
Closed

Illuminate\Database\QueryException #2

aliefardiansyah opened this issue Mar 4, 2021 · 0 comments

Comments

@aliefardiansyah
Copy link

aliefardiansyah commented Mar 4, 2021

Permisi Mastah
php artisan install
Illuminate\Database\QueryException

SQLSTATE[HY000] [1049] Unknown database 'enam' (SQL: SHOW FULL TABLES WHERE table_type = 'BASE TABLE')

at D:\laragon\www\cuk\enam\vendor\laravel\framework\src\Illuminate\Database\Connection.php:678
674▕ // If an exception occurs when attempting to run a query, we'll format the error
675▕ // message to include the bindings with SQL, which will make this exception a
676▕ // lot more helpful to the developer instead of just the database's errors.
677▕ catch (Exception $e) {
➜ 678▕ throw new QueryException(
679▕ $query, $this->prepareBindings($bindings), $e
680▕ );
681▕ }
682▕

1 D:\laragon\www\cuk\enam\vendor\laravel\framework\src\Illuminate\Database\Connectors\Connector.php:70
PDOException::("SQLSTATE[HY000] [1049] Unknown database 'enam'")

2 D:\laragon\www\cuk\enam\vendor\laravel\framework\src\Illuminate\Database\Connectors\Connector.php:70
PDO::__construct("mysql:host=127.0.0.1;port=3306;dbname=enam", "root", "", [])

apakah ada solusi untuk hal tersebut ?

sudah solve gan ternyata saya lupa bikin databasenya
terima kasih sebelumnya atas source codenya

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant