Tag: mysql

Just random stuff - Nothing to see here - Move along...

MariaDB 10.1 CentOS 7 Fails to Start Using New Disk or Data Location

If you changed your data location for mysql / mariadb, using a new disk and get an error like this after a start or restart: # systemctl start mariadb Job for mariadb.service failed because the control process exited with error code. See “systemctl status mariadb.service” and “journalctl -xe” for details. Here’s the extended status: #…
Read more

.htaccess Rules to Help Protect from SQL Injections

This list of rules by no means is a sure bet to secure your web services, but it will help in preventing script-kiddings from doing some basic browsing around. MySQL injection attempts are one of the most common hacking attacks against PHP websites. If your website is hosted on a dedicated or virtual server, the…
Read more