What's the deal with Deno? We talk with a major contributor to find out. Listen now.

Hot answers tagged

7

mysql has been replaced by mariadb in Debian10. Try default-mysql-server - although you can use mariadb. PS You can see what is available on your distribution e.g. apt-cache search mysql-server


3

1) to be able to update the pi, I have set up scripts that check git-lab API once a day and download the repo when there is a new version. is this common, is it acceptable? Yes, also you can follow the procedure below. It's easy to create a scheduled script thanks to the "cron". 1. Create a file for the script: sudo touch /home/update-script 2. ...


2

With Raspbian Buster you will find the needed sql extension in its repository with apt list *php*sql*. Just install it with: rpi ~$ sudo apt install php7.1-mysql


1

The official documentation gives step by step instructions for backup. Incremental backup allows you to just store the changes: https://mariadb.com/kb/en/incremental-backup-and-restore-with-mariabackup/ You can use cron to schedule the task to run nightly.


1

First thing to check is that your MySQL (or more likely MariaDB) server is listening on the INADDR_ANY (0.0.0.0) address. That needs a change to bind-address 0.0.0.0 in your config file. Then use sudo netstat -tlnpu | grep mysql to check that the mysqld task is running and listening OK. Next create a remote user as per the instructions at MySQL adding user ...


1

You need to update WordPress itself to PHP7. The old MySQL plugin doesn't support PHP7, and you should use MySQLi or PDO_MySQL instead.


1

You need to install the Mariadb packages and the mysql compatibility package in your sysroot. apt install mariadb-client mariadb-common mysql-common libmariadb-dev-compat libmariadbclient-dev libmariadb-dev-compat package will create all the links necessary for compatibility between mariadb and mysql. Then, when you call to qt configure script you must ...


1

You should use a systemd unit file to start the python script on boot up and run it as service. Just create a new service with: rpi ~$ sudo systemctl --force --full edit monitor-db.service In the empty editor insert these statements, save them and quit the editor: [Unit] Description=Monitor Database changes After=multi-user.target [Service] ExecStart=/...


Only top voted, non community-wiki answers of a minimum length are eligible