Skip to content
This repository has been archived by the owner on Jan 17, 2023. It is now read-only.

MariaDB issue #14

Open
gummipunkt opened this issue Mar 15, 2018 · 0 comments
Open

MariaDB issue #14

gummipunkt opened this issue Mar 15, 2018 · 0 comments

Comments

@gummipunkt
Copy link

With MariaDB, you can't install one40. Because of two problems.

First:
[PDOException] SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 767 bytes
If you have solved this with editing /home/USER/one40/app/Providers/AppServiceProvider.php and adding
public function boot() { Schema::defaultStringLength(191); }
you get a second fail
[Symfony\Component\Debug\Exception\FatalThrowableError] Class 'App\Providers\Schema' not found
so you have to add a second line in AppServiceProvider.php:
use Illuminate\Support\ServiceProvider; use Illuminate\Support\Facades\Schema;

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

No branches or pull requests

1 participant