Skip to content
This repository has been archived by the owner on Aug 21, 2019. It is now read-only.

Support for MariaDB ? #11

Open
adaxx opened this issue Dec 24, 2018 · 11 comments
Open

Support for MariaDB ? #11

adaxx opened this issue Dec 24, 2018 · 11 comments

Comments

@adaxx
Copy link

adaxx commented Dec 24, 2018

Is there support for MariaDB?

@gareth-johnstone
Copy link

Hi, yes, it'll work out of the box with mariadb, use the php mysqli extension to connect to your db

@adaxx
Copy link
Author

adaxx commented Dec 24, 2018

and where can I do it?
screenshot_1

@OlliTheDarkness
Copy link

Had the same problem.
Solution:

  1. Import the SQL file from the install folder itself into the DB. (phpMyAdmin etc ...)
  2. Edit the file install.php and the line "// MySQL version
    if ($ safemode == 1) {
    echo "<span class = " check_bad \ "> Unable to check with PHP safe mode on </ span> </ p>";
    } else {
    $ mysql = explode ("", shell_exec ("mysqladmin --version \ n"));
    $ mysql = rtrim ($ mysql [5], ",");
    debug ($ mysql);
    if (version_compare ($ mysql, '4.1', '<')) {
    $ failed = 1;
    $ class = "error";
    $ directions. = "

    - Install / upgrade MySQL server to version 4.1 or later </ p> \ n";
    ...

set $ failed = 1 to 0.

Then you can go through the install normally.
He will then tell you that the database already exists because you can simply choose to replace.

But I can tell you these are not the only bugs, have already found and corrected some.

We'll get your fun with ^^
greeting

@peckamal
Copy link

Please help http://92.63.57.2/shout

@OlliTheDarkness
Copy link

Here is the complete install.php with the corresponding change.
Simply replace the contents of install.php with this one, before load the sql file in the install folder by hand into the database, done.

install.zip

@peckamal
Copy link

peckamal commented Dec 31, 2018

Another error http://92.63.57.2/shout

@peckamal
Copy link

@Loudgi
Copy link

Loudgi commented Mar 12, 2019

you could install it?

@Loudgi
Copy link

Loudgi commented Mar 12, 2019

you need to creat a user and password (phpmyadmin can help you if you want)

@eushells
Copy link

Here is the complete install.php with the corresponding change.
Simply replace the contents of install.php with this one, before load the sql file in the install folder by hand into the database, done.

install.zip

Thank you for help :D

@eushells
Copy link

I don`t have button to next user/pass on install.

image

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

6 participants