Giter VIP home page Giter VIP logo

Comments (9)

tanimientras avatar tanimientras commented on June 5, 2024 1

sql-mode=""

That would be a workaround. They should fix the SQL statements instead.

How/Where's the config to change database in pandoraFMS?

from pandorafms.

JoseMartinPFMS avatar JoseMartinPFMS commented on June 5, 2024

Hello.

Pandora database scheme seems to be missing or failing. Have you made sure it is correctly configured?
Please, take a look on these pandora wiki pages if you haven't before:

If problems with the database persist, try installing Pandora with a local database and configure the external one later, as a workaround.

from pandorafms.

tanimientras avatar tanimientras commented on June 5, 2024

Pandora database scheme seems to be missing or failing. Have you made sure it is correctly configured?
It's a clean install, the issue might be on the .sql file being imported.

Actually seems there's a DEFAULT '' on a TEXT field, which is unsupported by MySQL [1]

If problems with the database persist, try installing Pandora with a local database and configure the external one later, as a workaround.

Going to try...

[1] https://stackoverflow.com/questions/3466872/why-cant-a-text-column-have-a-default-value-in-mysql

from pandorafms.

tanimientras avatar tanimientras commented on June 5, 2024

Default install went OK. How/Where's the config to change database?

from pandorafms.

fbsanchez avatar fbsanchez commented on June 5, 2024

sql-mode=""

from pandorafms.

fbsanchez avatar fbsanchez commented on June 5, 2024

sql-mode=""

That would be a workaround. They should fix the SQL statements instead.

How/Where's the config to change database?

you're right they should, but I'm not sure if they are working on it... meanwhile there's the disable sql-mode trick...

check https://raazkumar.com/tutorials/mysql/mysql-configuration-file/

if working with containers you can set it explicitely

https://stackoverflow.com/questions/48924667/changing-sql-mode-on-mariadb-image-with-docker-compose

from pandorafms.

tanimientras avatar tanimientras commented on June 5, 2024

Thanks. Updated my previous comment, 'cause it was misleading.

How/Where's the config to change database in pandoraFMS?

from pandorafms.

tanimientras avatar tanimientras commented on June 5, 2024

@tanimientras seems the same problem as the rocky installation, are you using an external database?

Im using a fresh machine running a clean install of mysql
mysql Ver 8.0.31-0ubuntu0.22.04.1 for Linux on x86_64 ((Ubuntu))

Is this database optimized for pandorafms? Could you try to deploy on a local database (default one) to check it?

a local one seems to work, but then I cannot find an option in pandorafms to change database (it's an enterprise-only feature?)

from pandorafms.

Tatsibayashi avatar Tatsibayashi commented on June 5, 2024

I can't install sql because it doesn't click next on the final account path it doesn't accept any file to install please help

from pandorafms.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.