Connect a database

Pick a driver and enter credentials. We'll write .env and run migrations after testing the connection.

@if ($errors->any())
Couldn't continue @foreach ($errors->all() as $error) {{ $error }} @endforeach
@endif
@csrf Driver Click a card to choose.
@php $drivers = [ ['key' => 'sqlite', 'name' => 'SQLite', 'desc' => 'File-based · zero setup'], ['key' => 'mysql', 'name' => 'MySQL', 'desc' => 'or MariaDB · classic'], ['key' => 'pgsql', 'name' => 'Postgres', 'desc' => 'PostgreSQL · enterprise'], ]; $selected = old('driver', 'sqlite'); @endphp @foreach ($drivers as $d) @endforeach
{{-- SQLite fields --}} SQLite Single-file database. Perfect for small teams and self-hosted demos.
Filename

Stored under database/. Created automatically if missing.

{{-- Server-based DB fields --}} MySQL connection Make sure the database already exists and the user has full privileges.
Host
Port
Database name
Username
Password
Clicking Test & migrate saves .env, generates APP_KEY, tests the connection, then runs all migrations.
← Back