The reason for this warning is due to the fact that you are using localhost as the hostname for your database in your script. Please note that localhost is used only when your web and database are located on the same server. On our hosting platform, the database is located on a separate server. In order to connect to your database, you must use the hostname for your database. You can find this information inside the Database Manager of your hosting control panel.
How to Fix 308 Permanent Redirect
308 Permanent Redirect is an HTTPS status code indicating that the requested resource has been permanently moved to another location. Similar to 301 Moved Permanently, 308 informs the user of the movement of a given online resource, and unlike the 301 redirect, 308...
