Closed rjpost closed 3 years ago
That is because the MySQL config is not complete. Missing hostname / user / password You have only dbname configured
Sorry, I reviewed your issue and now I see this: Compiled for Linux (LE) 32 bit with SQLite support So you are using the binary for sqlite.
Okay but what am i doing wrong then. I used the sbfspot-config to install and selected the mariadb option in the configuration during the condif process. How can it then have been compiled with the binary for SQL? Does sbfspot-config support installing mariadb? how should i move forward when i want this to run with mysql?
Thanks for the quick response.
Don’t know what’s going on. I should find some time to retest it... You can manually download and untar the files from https://github.com/SBFspot/SBFspot/releases/download/V3.5.2/sbfspot-mysql-arm-linux.tar.gz Btw mysql and mariadb use the same executable.
I have exactly the same problem and I can't find sufficient information in the documentation to be able to resolve this. SBFSpotUpload doesn't work with MySQL/MariaDB when it's been installed with the config tool and there isn't sufficient information to guide me through compiling my own :-(
Transferring this issue to sbfspot-config
Hi, i was hoping to find some help. I have installed SBFspot through sbfspot-config on raspberry pi3 with Buster. During installation i ran into problems because the database and user weren't created. I managed to resolve this by installing mariadb-server separate, then create the SBFspot database and create a user with access to the database. When running th installer again i simply used the existing config and modified the database name and username accordingly. It all runs through like a charm.
When i run /usr/local/bin/sbfspot.3/SBFspot -v i get the correct response and results ( i think)
However i get a Can't open SQLite db error. Which i find strange because i ran the config with option for mariadb. I tried changing SBFspot.cfg so it point to the database location: /var/lib/mysql/SBFspot.
this doenst work. At this time i do see filled csv files with data in smdata folder so it all does appear to work however the mysql database still remains emtpy.
Could anyone help me out to see what im missing / doing wrong.
all help is appreciated .
ronald