Git Product home page Git Product logo

Comments (5)

msimerson avatar msimerson commented on September 27, 2024

Long term my plan is to ditch SQL entirely and move the DNS data into a document store. Beyond that, I haven't given it much thought.

from nictool.

gerhard-tinned avatar gerhard-tinned commented on September 27, 2024

So, Can I send you a PR with the MariaDB dependancy in the Makefile.PL ?? So far under Debian 8.8 it works.

from nictool.

gerhard-tinned avatar gerhard-tinned commented on September 27, 2024

Hi, I have created PR #262. Is there a chance that will be merged? I know that change has the potential of introducing a breaking change. If there is a way to introduce the changes without causing a breaking change, please let me know and I will update it.

from nictool.

msimerson avatar msimerson commented on September 27, 2024

I haven't had a chance to look in more detail. Im thinking there's a couple paths forward:

  1. Switch dependency to MariaDB
  2. Add a bash/sh pre-script that rewrites all the dep files that allows switching engines

from nictool.

gerhard-tinned avatar gerhard-tinned commented on September 27, 2024

Well, at this point, all the scripts involved (except very few scripts) are already mysql AND MqriaDB compatible.

  • server/sql/dump_schema.pl
  • server/sql/upgrade.pl
  • server/bin/nt_powerdns.pl

I never used those but from the code, server/sql/upgrade.pl is asking for the dsn and should therefore be compatible with Mariadb even with the default pointing to mysql.

The server/sql/dump_schema.pl and the server/bin/nt_powerdns.pl have all database credentials and the dsn hard-coded in the script. Editing the dsn while you are changing the credentials and even that script should work. Not sue if that is a the intention, but it should work.

The only remaining files where I could find a reference to mysql dbi connectors is in the .test/ directory and the ,travis.yml. Sadly I have no clue how those are used. If they need changing, please point me the right direction and I will change them too.

from nictool.

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.