-
-
Notifications
You must be signed in to change notification settings - Fork 42
Open
Labels
Description
Extension Version
3.0.1
OS and Version
Ubuntu 24.04.4
VS Code Version
1.109.4
Database name and Version
11.8.5-MariaDB-ubu2404 mariadb.org binary distribution
Steps to reproduce
Steps to reproduce:
- Use Laravel Sail with mariadb container
- Use
DB_CONNECTION=mariadbin the.env - Try to connect to Sail DB
Database configuration example:
DB_CONNECTION=mariadb
DB_HOST=mariadb
DB_PORT=3306
DB_DATABASE=laravel
DB_USERNAME=laravel
DB_PASSWORD=laravel
Expected behavior
When i use the maraidb Laravel drive it should also be able to connect to the database.
Screenshots
Additional context
Extension Log
[Init] Getting available providers...
[Init] Checking provider: Laravel Local SQLite (default)
[Init] Checking provider: SQLite Database File Picker
[Init] Checking provider: Laravel Mysql (with Sail support)
[Laravel MySQL] Checking if Laravel MySQL provider can be used in the current workspace...
[Laravel env file parser] Fetching connection details from .env file. Laravel connection: mysql
[Init] Checking provider: Laravel PostgreSQL
[Laravel env file parser] Fetching connection details from .env file. Laravel connection: pgsql
[Init] Checking provider: Rails SQLite
[Rails SQLite Provider] Checking if Rails SQLite provider can be used
[Rails Core] Could not read Gemfile content
[Rails SQLite Provider] Not a Rails project
[Init] Checking provider: Rails MySQL
[Rails Core] Could not read Gemfile content
[Init] Checking provider: Rails PostgreSQL
[Rails Core] Could not read Gemfile content
[Rails Postgres Provider] Not a Rails project
[Init] Checking provider: Django SQLite
[Django SQLite Provider] Checking if Django SQLite provider can be used
[Django Core] No manage.py found in workspace root
[Django SQLite Provider] Not a Django project
[Init] Checking provider: Django MySQL
[Django Core] No manage.py found in workspace root
[Init] Checking provider: Django PostgreSQL
[Django Core] No manage.py found in workspace root
[Django Postgres Provider] Not a Django project
[Init] Checking provider: Config File
[Init] Checking provider: DDEV - MySQL
[Postgres DDEV] Not a DDEV project
[Init] Checking provider: DDEV - PostgreSQL
[Postgres DDEV] Not a DDEV project
[Init] Checking provider: Adonis MySQL (Lucid ORM)
[Adonis PostgreSQL] No Adonis database config file found
[MySQL AdonisJS] Not an AdonisJS project
[Init] Checking provider: Adonis PostgreSQL (Lucid ORM)
[Adonis PostgreSQL] No Adonis database config file found
[Postgres AdonisJS] Not an AdonisJS project
[Init] Checking provider: Supabase - PostgreSQL
[Supabase Postgres] Not a Supabase project
[Init] Laravel Local SQLite (default) useable in workspace: no
[Init] SQLite Database File Picker useable in workspace: yes
[Init] Rails SQLite useable in workspace: no
[Init] Rails MySQL useable in workspace: no
[Init] Rails PostgreSQL useable in workspace: no
[Init] Django SQLite useable in workspace: no
[Init] Django MySQL useable in workspace: no
[Init] Django PostgreSQL useable in workspace: no
[Init] DDEV - MySQL useable in workspace: no
[Init] DDEV - PostgreSQL useable in workspace: no
[Init] Adonis MySQL (Lucid ORM) useable in workspace: no
[Init] Adonis PostgreSQL (Lucid ORM) useable in workspace: no
[Init] Supabase - PostgreSQL useable in workspace: no
[Init] Config File useable in workspace: no
[Laravel env file parser] Laravel/mysql2 connection details: connection=mariadb, host=127.0.0.1, username=laravel, database=l*****
[Laravel env file parser] Connection type mismatch: expected "mysql", found "mariadb"
[Laravel MySQL] Connection status: failed
[Init] Laravel Mysql (with Sail support) useable in workspace: no
[Laravel env file parser] Laravel/postgres connection details: connection=mariadb, host=127.0.0.1, username=laravel, database=l*****
[Laravel env file parser] Connection type mismatch: expected "pgsql", found "mariadb"
[Init] Laravel PostgreSQL useable in workspace: no
[Init] Available providers: SQLite Database File Picker
This may be a Feature request, but i opt for bug because it can connect if i use mysql driver
Reactions are currently unavailable