You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error when loading/dumping database schema "ERROR 2026 (HY000): TLS/SSL error: SSL is required, but the server does not support it". No option for "--skip-ssl" for mariadb #54269
mariadb-client versions 11+ sets the --ssl option to true per default.
This causes the following error whenever you load or dump a schema:
ERROR 2026 (HY000): TLS/SSL error: SSL is required, but the server does not support it
This can be avoided by using the --skip-ssl command, but Laravel has no option to enter/configure it.
Steps To Reproduce
Example with dumping:
install mariadb-client 11 or higher
php artisan schema:dump
error
Example with loading:
install mariadb-client 11 or higher
add a dump to database/schema
in tests/TestCase.php add use RefreshDatabase trait
namespace Tests;
use Illuminate\Foundation\Testing\RefreshDatabase;
use Illuminate\Foundation\Testing\TestCase as BaseTestCase;
abstract class TestCase extends BaseTestCase
{
use RefreshDatabase;
}
php artisan test
error
Raitch, wadakatu, jwohlfert23, yuriizee, tom-on-the-internet and 4 more