Posts

Showing posts from May, 2019

Azure Mysql in app, error #2002

Image
In the Azure WEB APP , MYSQL IN APP, you get this error azurewebsites.net/phpMyAdmin/ Erreur : #2002 - An attempt was made to access a socket in a way forbidden by its access permissions. — The server is not responding (or the local server's socket is not correctly configured). mysqli_real_connect(): (HY000/2002): An attempt was made to access a socket in a way forbidden by its access permissions.  The solution is

Got error 1 from storage engine

Image
Using in the Azure Database for MySQL server Got the error 1  when I tried to migrate the database ERROR 1030 (HY000) at line   Got error 1 from storage engine Why? https://blogs.msdn.microsoft.com/azuresqldbsupport/2017/06/08/azure-database-for-mysql-cant-restore-database-with-error-got-error-1-from-storage-engine/ "Got error 1 from storage engine" While indicated to be a storage capacity issue on a MySQL server when researching this error, in Azure Database for MySQL this error is most commonly seen when the MyISAM storage engine is being used. Currently, MyISAM is not supported on Azure Database for MySQL. In this scenario, you will need to modify the tables to utilize a supported engine such as InnoDB. This is the engine that Azure Database for MySQL uses by default. This article Converting MyISAM to InnoDB will help you understand the implications of changing from MyISAM and the suggested conversion steps to InnoDB. The most common method is t...

Haproxy - wordpress problem in SSL

A problem in WordPress SSL HAPROXY Have a problem to put your SSL in your WordPress using HAPROXY as a reverse proxy? To resolve this is simple Add in  wp-config.php define('FORCE_SSL_ADMIN', true); define('FORCE_SSL_LOGIN', true); if ($_SERVER['HTTP_X_FORWARDED_PROTO'] == 'https') $_SERVER['HTTPS']='on'; Add this in your haproxy. frontend webfront mode http bind 0.0.0.0:443 ssl crt /etc/haproxy/certs.d reqadd X-Forwarded-Proto:\ https ... ... Make sure to use option http-server-close  as well or the reqadd setting might not work as expected.

Remote Server returned '550 5.2.3 RESOLVER.RST.RecipSizeLimit; message too large for this recipient'

Office 365 or Exchange online problem Remote Server returned '550 5.2.3 RESOLVER.RST.RecipSizeLimit; message too large for this recipient' Connect in your office365/Exchangeonlime with PowerShell Confirm the problem,   Get-Mailbox | fl mailboxplan,maxsendsize,maxreceivesize If you have   Get-Mailbox user@mailbox.com | fl mailboxplan,maxsendsize,maxreceivesize MailboxPlan    : ExchangeOnline-1ab122338-4f1a-bac1-c28ff8a1234 MaxSendSize    : 0 B (0 bytes) MaxReceiveSize : 0 B (0 bytes) Execute the command  Set-Mailbox user@mailbox.com -MaxReceiveSi ze 55 MB -MaxSend Size 55 MB  or   Set-Mailbox user@mailbox.com -MaxReceiveSize 150MB -MaxSendSize 150MB To apply for all users run this.  Get-Mailbox | Set-Mailbox -MaxReceiveSize 55MB -MaxSendSize 55MB

How to connect in your Office365 or Exchange online

How to connect in your Office365 or Exchange online Using the script below.

Azure Debian apt update problem ?

Sometimes when the Debian is old, and you try to install or update something, the APT doesn't work in Debian machine in Azure VM, need to update the apt. I got these errors Err http://debian-archive.trafficmanager.net/debian/ jessie-backports/main pinen                                                                                                                                                     try-gtk2 amd64 0.9.7-5~bpo8+1   404  Not Found [IP: 52.233.239.54 80] Get:6 http://debian-archive.trafficmanager.net/debian/ jessie/main gnupg-agent a              ...