Open fazliddin opened 1 month ago
Sounds like an issue with your local setup and that you don't have a DB driver for your selected database.
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=oqila_cms
DB_USERNAME=root
DB_PASSWORD=123456
migration and seed was successful
Sounds like you don't have sqlite driver. Because the Currency
model uses sqlite behind the scenes.
Yes, I installed sqlite, but could not figured out how to configure two databases
There is no need to configure two databases?
If you run php -m
does it contain sqlite
?
Yes it contains sqlite3
. But scenario was:
mysql
(by that time sqlite was not installed)Currently error still appears. It is my env file:
APP_NAME="Filament Demo"
APP_ENV=local
APP_KEY=base64:a4HXd4Ueo2jziF9rFcUvkDtKme2ibEVW1jLLWBsb/B4=
APP_DEBUG=true
APP_URL=http://filament-demo.loc
LOG_CHANNEL=stack
LOG_DEPRECATIONS_CHANNEL=null
LOG_LEVEL=debug
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=filament_demo
DB_USERNAME=root
DB_PASSWORD=123456
BROADCAST_DRIVER=log
CACHE_DRIVER=file
FILESYSTEM_DRIVER=local
QUEUE_CONNECTION=sync
SESSION_DRIVER=file
SESSION_LIFETIME=120
MEMCACHED_HOST=127.0.0.1
REDIS_HOST=127.0.0.1
REDIS_PASSWORD=null
REDIS_PORT=6379
MAIL_MAILER=smtp
MAIL_HOST=mailhog
MAIL_PORT=1025
MAIL_USERNAME=null
MAIL_PASSWORD=null
MAIL_ENCRYPTION=null
MAIL_FROM_ADDRESS=null
MAIL_FROM_NAME="${APP_NAME}"
AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=
AWS_DEFAULT_REGION=us-east-1
AWS_BUCKET=
AWS_USE_PATH_STYLE_ENDPOINT=false
FLARE_KEY=
PUSHER_APP_ID=
PUSHER_APP_KEY=
PUSHER_APP_SECRET=
PUSHER_APP_CLUSTER=mt1
VITE_PUSHER_APP_KEY="${PUSHER_APP_KEY}"
VITE_PUSHER_APP_CLUSTER="${PUSHER_APP_CLUSTER}"
It contains nothing about sqlite.