1chmod g-s <dirname_here> More details in https://serverfault.com/questions/238962/how-do-i-clear-the-s-permission-on-a-directory-in-linux
Read MoreMySQL/MariaDB with Credentials File
2020-05-12 · 1 min read · mysql mariadb authentication permission credentials credentials-file mysql-security ·Using a configuration file for mysql is a good practice as you don't immediately expose credentials. Below, you are going to mysql cli and immediately using the db named dbName. 1mysql --defaults-file=/path/to/credentials.ini dbName where credentials.ini has this format: 1[client] …
Read MoreMariaDB seems to have this issue and can't start as shown in /var/log/mariadb/mariadb.log 12020-02-19 15:18:49 0 [ERROR] mysqld: Can't create/write to file '/var/run/mariadb/mariadb.pid' (Errcode: 2 "No such file or directory") I was able to fix one instance of this issue by doing: 1sudo mkdir …
Read More1bash-4.1$ /usr/local/bin/drush cc all 2‘all’ cache was cleared. [success] 3bash-4.1$ /usr/local/bin/drush fra -y 4WD print_pdf: Failed to create directory “public://print_pdf/print_pdf_mpdf/ttfontdata” for print_pdf_mpdf. [error] 5WD print_pdf: Failed to create directory “public://print_pdf/print_pdf_mpdf/tmp” for …
Read MoreChanging group ownership of the files in "sites/default/files". More details in https://www.drupal.org/docs/7/install/setting-up-the-files-directory
Read More1create database yourDB; 2CREATE USER 'yourDBA'@'localhost' IDENTIFIED BY 'yourPASS'; 3GRANT ALL PRIVILEGES ON yourDB.* TO 'yourDBA'@'localhost'; 4FLUSH PRIVILEGES;
Read More