mirror of
https://github.com/pelican-dev/panel.git
synced 2026-07-16 04:03:50 +03:00
MariaDB fixes #93
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Im-0xC7 on GitHub (Jun 8, 2024).
php artisan p:environment:database), though setting up with themysqloption and changingmysqltomariadbin the .env file works fineTested on panel v1.0.0-beta4
@Boy132 commented on GitHub (Jun 9, 2024):
mysqldriver works for both mysql and mariadb.char(36)@Im-0xC7 commented on GitHub (Jun 10, 2024):
If I don't have a MySQL client installed I cannot use the
mysqltype, so changingmysqltomariadbin the .env allows me to use a MariaDB client (Just tested, givesmysql not found)Migration
2022_05_28_135717_create_activity_logs_tableuses theuuidtype for thebatchcolumn, so attempting to runphp artisan migrate --seed --forcefails on any version earlier than 10.7 (Tested with panel v1.0.0-beta5 and MariaDB 10.6)@Boy132 commented on GitHub (Jun 10, 2024):
I see. That is a known issue. The
mysqlalias is missing in newer mariadb versions.No, that is still not a
uuiddatatype on the database. It's just a short way of creating achar(36).@Im-0xC7 commented on GitHub (Jun 11, 2024):
Either way, MariaDB versions before 10.7 don't recognize the
uuidtype/alias (at least from my tests on 10.3 & 10.6), so attempting to run the migrations fails@Boy132 commented on GitHub (Jun 11, 2024):
It has to be something different. I'm using mariadb 10.5 just fine. (although with the
mysqldriver)Please use the
mysqldriver for now and manually create the mysql alias withln -s /usr/bin/mariadb /usr/bin/mysql.If you still have problems visit the Discord and open a support thread with some information, like mariadb version, os and the errors you are getting.