Just saw this error and usually this is due to having a misconfiguration in the database connection options. But I am running Fedora 25 with seLinux enabled by default. First to test if it's seLinux causing an issue If...
Month: June 2017
Installing Fedora 25 on Macbook Pro
My Log of getting Fedora 25 Running on my Macbook Pro After being on a MacOS for about 2 years I've just this week built the courage to blow the install away and install Fedora on the bare metal. What follows are my notes on the things that I have been tweaking as I...
Search / Replace in Entire Document with Scribus
Scribus is a great piece of software but there seems to be a missing piece of functionality. You can search and replace in a single text frame but you can't seem to search and replace in the whole document. So if your document has multiple text frames then you can't...
The End of Ye Olde Ugly NGinx Config Files
Install python3. This is for CentOS Download and install nginxfmt.py. The download and the instructions are at https://github.com/1connect/nginx-config-formatter Once installed usage is as follows. [code...
AWS Bucket Policies
Been working towards my Amazon Certified Solutions Architect --- Associate qualification. Created a static website from an S3 bucket and everytime I synced my local files up to it I would get access denied due to the sync removing perms. But that is where bucket...
When outbound HTTP and HTTPS is denied you have to get creative with 3proxy and SSH
https://www.digitalocean.com/community/tutorials/how-to-route-web-traffic-securely-without-a-vpn-using-a-socks-tunnel The above link has a how-to on running a socks5 proxy just by using ssh. PS I have used Digital Ocean for 3+ years and except for one instance of...
SeLinux Apache Joomla — No network connect for you!
If you have Apache+PHP+Joomla and are trying to use the Joomla Update feature while seLinux is enabled you will probably see But you can get it to work if you set the correct option in seLinux ...
Elegant Themes Visual Builder No Worky on NGINX Server
Symptoms: You are running php-fpm and nginx You can enter the visual builder from the home page https://jamesmcdonald.id.au/?et_fb=1 but not from a another url such as https://jamesmcdonald.id.au/contact?et_fb=1 Problem: The Divi Visual Builder uses ?et_b=1 query...
Cry Havoc and Release the Dogs of War — PHP 7.1.5 Upgrade Gotchas
So just doing a Joomla 3.7.1 to PHP7.1.5 upgrade. I have Chronoforms v5 installed (https://www.chronoengine.com/downloads/chronoforms) which works brilliantly btw. However on upgrade to PHP 7.1.5 and trying to save a form I got "0 Cannot use string offset as an array"...
Why S3-WriteObject Kept the Upload Going When I Control-C’d it
I would recommend just using the AWS Cli for windows instead of powershell Uploading 650MB chunks using S3-WriteObject. Didn't want to choke link during day so CTRL-C'd to exit the powershell script and found in the morning that the upload had happened any way. The...

![CakePHP – SQLSTATE[HY000] [2002] Permission denied](https://toggen.com.au/wp-content/uploads/2017/06/Screenshot-from-2017-06-28-15-38-42-400x250.png)

