PHP Live! Help Desk
Search:
» 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]
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  |  Privacy  |  License Agreement  |  Chat Icons  |  Profile Icons  |  Help Desk  |  Forums  |  Contact Us  |  Live Chat
© OSI Codes Inc. All Rights Reserved - PHP Live! is a product by by OSI Codes Inc.   PHP Live! on Google Plus Google Plus
54.145.235.23