PHP Live! Help Desk
» Help Desk Home » Errors and Troubleshooting » mysql_connect: SQL safe mode in effect
mysql_connect: SQL safe mode in effect

If sql.safe_mode is enabled, MySQL connection ignores any arguments passed to them.  This is caused due to your php.ini sql safe mode settings.  Simply edit the server php.ini file and set the "sql.safe_mode" to Off:  If you are unsure where the php.ini file is located, please contact the hosting company or your web server admin.


sql.safe_mode = Off


After the update, restart the web server so that the changes goes into effect.

Was this documentation helpful to you?
Home  |  About  |  Clients  |  Features  |  Help Desk  |  Live Demo  |  Free Trial  |  Contact Us  |  Live Chat
© OSI Codes Inc. All Rights Reserved, Privacy Policy - PHP Live! is a product by by OSI Codes Inc.   PHP Live! on Google Plus Google Plus